<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>usbpsu: USBPSU APIs</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">usbpsu
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__usbpsu__api.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">USBPSU APIs</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb_psu___evt_buffer.html">XUsbPsu_EvtBuffer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct <a class="el" href="struct_x_usb_psu___evt_buffer.html" title="struct XUsbPsu_EvtBuffer - Software Event buffer representation Software Event buffer representation ...">XUsbPsu_EvtBuffer</a> - Software Event buffer representation Software Event buffer representation  <a href="struct_x_usb_psu___evt_buffer.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb_psu___trb.html">XUsbPsu_Trb</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct <a class="el" href="struct_x_usb_psu___trb.html" title="struct XUsbPsu_Trb - Transfer Request Block - Hardware format ">XUsbPsu_Trb</a> - Transfer Request Block - Hardware format  <a href="struct_x_usb_psu___trb.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb_psu___ep_params.html">XUsbPsu_EpParams</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct <a class="el" href="struct_x_usb_psu___ep_params.html" title="struct XUsbPsu_EpParams - Endpoint Parameters ">XUsbPsu_EpParams</a> - Endpoint Parameters  <a href="struct_x_usb_psu___ep_params.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct____attribute____.html">__attribute__</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct SetupPacket - USB Standard Control Request  <a href="struct____attribute____.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb_psu___ep.html">XUsbPsu_Ep</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct <a class="el" href="struct_x_usb_psu___ep.html" title="struct XUsbPsu_Ep - Endpoint representation Endpoint representation ">XUsbPsu_Ep</a> - Endpoint representation Endpoint representation  <a href="struct_x_usb_psu___ep.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb_psu___config.html">XUsbPsu_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct <a class="el" href="struct_x_usb_psu___config.html" title="struct XUsbPsu_Config - Configuration information for the USB ">XUsbPsu_Config</a> - Configuration information for the USB  <a href="struct_x_usb_psu___config.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_usb___dev_data.html">Usb_DevData</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct <a class="el" href="struct_usb___dev_data.html" title="struct Usb_DevData - Application device data Application Data ">Usb_DevData</a> - Application device data Application Data  <a href="struct_usb___dev_data.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb_psu.html">XUsbPsu</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">USB Device Controller representation USB Device Controller representation.  <a href="struct_x_usb_psu.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb_psu___event___type.html">XUsbPsu_Event_Type</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct <a class="el" href="struct_x_usb_psu___event___type.html" title="struct XUsbPsu_Event_Type - Device Endpoint Events type ">XUsbPsu_Event_Type</a> - Device Endpoint Events type  <a href="struct_x_usb_psu___event___type.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct XUsbPsu_event_depvt - Device Endpoint Events  <a href="struct_x_usb_psu___event___epevt.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb_psu___event___devt.html">XUsbPsu_Event_Devt</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct XUsbPsu_event_devt - Device Events  <a href="struct_x_usb_psu___event___devt.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb_psu___event___gevt.html">XUsbPsu_Event_Gevt</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct XUsbPsu_event_gevt - Other Core Events  <a href="struct_x_usb_psu___event___gevt.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">union &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_x_usb_psu___event.html">XUsbPsu_Event</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">union XUsbPsu_event - representation of Event Buffer contents  <a href="union_x_usb_psu___event.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga957c4c1e84bc2b5c56296ae5a5cb1c26"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga957c4c1e84bc2b5c56296ae5a5cb1c26">XUSBPSU_H</a></td></tr>
<tr class="memdesc:ga957c4c1e84bc2b5c56296ae5a5cb1c26"><td class="mdescLeft">&#160;</td><td class="mdescRight">by using protection macros  <a href="#ga957c4c1e84bc2b5c56296ae5a5cb1c26">More...</a><br/></td></tr>
<tr class="separator:ga957c4c1e84bc2b5c56296ae5a5cb1c26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3126435e75abbfbfdcf3bfdf9d1175a0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>&#160;&#160;&#160;1U</td></tr>
<tr class="memdesc:ga3126435e75abbfbfdcf3bfdf9d1175a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Direction IN.  <a href="#ga3126435e75abbfbfdcf3bfdf9d1175a0">More...</a><br/></td></tr>
<tr class="separator:ga3126435e75abbfbfdcf3bfdf9d1175a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga512f27591b21fe69754687c156ad0c01"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>&#160;&#160;&#160;0U</td></tr>
<tr class="memdesc:ga512f27591b21fe69754687c156ad0c01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Direction OUT.  <a href="#ga512f27591b21fe69754687c156ad0c01">More...</a><br/></td></tr>
<tr class="separator:ga512f27591b21fe69754687c156ad0c01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9338e96a71bd29d1d427f6dfc828f40f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga9338e96a71bd29d1d427f6dfc828f40f">XUSBPSU_USB_DIR_OUT</a>&#160;&#160;&#160;0U</td></tr>
<tr class="memdesc:ga9338e96a71bd29d1d427f6dfc828f40f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Direction to device.  <a href="#ga9338e96a71bd29d1d427f6dfc828f40f">More...</a><br/></td></tr>
<tr class="separator:ga9338e96a71bd29d1d427f6dfc828f40f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa8dc3536c5415d69176f27d3e51f9639"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gaa8dc3536c5415d69176f27d3e51f9639">XUSBPSU_USB_DIR_IN</a>&#160;&#160;&#160;0x80U</td></tr>
<tr class="memdesc:gaa8dc3536c5415d69176f27d3e51f9639"><td class="mdescLeft">&#160;</td><td class="mdescRight">Direction to host.  <a href="#gaa8dc3536c5415d69176f27d3e51f9639">More...</a><br/></td></tr>
<tr class="separator:gaa8dc3536c5415d69176f27d3e51f9639"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab099fe68c248d13c86d5c9ff3eb6cc90"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gab099fe68c248d13c86d5c9ff3eb6cc90">XUSBPSU_ENDPOINT_XFERTYPE_MASK</a>&#160;&#160;&#160;0x03</td></tr>
<tr class="memdesc:gab099fe68c248d13c86d5c9ff3eb6cc90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transfer type mask.  <a href="#gab099fe68c248d13c86d5c9ff3eb6cc90">More...</a><br/></td></tr>
<tr class="separator:gab099fe68c248d13c86d5c9ff3eb6cc90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4cc1d5f5a9d9499d04de1ff248b1fb50"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga4cc1d5f5a9d9499d04de1ff248b1fb50">XUSBPSU_ENDPOINT_XFER_CONTROL</a>&#160;&#160;&#160;0U</td></tr>
<tr class="memdesc:ga4cc1d5f5a9d9499d04de1ff248b1fb50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control EP.  <a href="#ga4cc1d5f5a9d9499d04de1ff248b1fb50">More...</a><br/></td></tr>
<tr class="separator:ga4cc1d5f5a9d9499d04de1ff248b1fb50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga428b7d5150df403d2011a466379d4860"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga428b7d5150df403d2011a466379d4860">XUSBPSU_ENDPOINT_XFER_ISOC</a>&#160;&#160;&#160;1U</td></tr>
<tr class="memdesc:ga428b7d5150df403d2011a466379d4860"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO EP.  <a href="#ga428b7d5150df403d2011a466379d4860">More...</a><br/></td></tr>
<tr class="separator:ga428b7d5150df403d2011a466379d4860"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab7f31fa2f463d3ebd2e0635402741f1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gaab7f31fa2f463d3ebd2e0635402741f1">XUSBPSU_ENDPOINT_XFER_BULK</a>&#160;&#160;&#160;2U</td></tr>
<tr class="memdesc:gaab7f31fa2f463d3ebd2e0635402741f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bulk EP.  <a href="#gaab7f31fa2f463d3ebd2e0635402741f1">More...</a><br/></td></tr>
<tr class="separator:gaab7f31fa2f463d3ebd2e0635402741f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae18c69e1589fab7cf7bf0202ad9fd870"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gae18c69e1589fab7cf7bf0202ad9fd870">XUSBPSU_ENDPOINT_XFER_INT</a>&#160;&#160;&#160;3U</td></tr>
<tr class="memdesc:gae18c69e1589fab7cf7bf0202ad9fd870"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interrupt EP.  <a href="#gae18c69e1589fab7cf7bf0202ad9fd870">More...</a><br/></td></tr>
<tr class="separator:gae18c69e1589fab7cf7bf0202ad9fd870"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad2fd554fef58d4a23dd5e7afa9cb2ee9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gad2fd554fef58d4a23dd5e7afa9cb2ee9">XUSBPSU_ENDPOINT_MAX_ADJUSTABLE</a>&#160;&#160;&#160;0x80</td></tr>
<tr class="memdesc:gad2fd554fef58d4a23dd5e7afa9cb2ee9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Max EP.  <a href="#gad2fd554fef58d4a23dd5e7afa9cb2ee9">More...</a><br/></td></tr>
<tr class="separator:gad2fd554fef58d4a23dd5e7afa9cb2ee9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7af07f28c5254049183d86942b54d610"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga7af07f28c5254049183d86942b54d610">XUSBPSU_TEST_J</a>&#160;&#160;&#160;1U</td></tr>
<tr class="memdesc:ga7af07f28c5254049183d86942b54d610"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test Mode J.  <a href="#ga7af07f28c5254049183d86942b54d610">More...</a><br/></td></tr>
<tr class="separator:ga7af07f28c5254049183d86942b54d610"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaba5ac1fc686a1d43125ff1e3550de708"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gaba5ac1fc686a1d43125ff1e3550de708">XUSBPSU_TEST_K</a>&#160;&#160;&#160;2U</td></tr>
<tr class="memdesc:gaba5ac1fc686a1d43125ff1e3550de708"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test Mode K.  <a href="#gaba5ac1fc686a1d43125ff1e3550de708">More...</a><br/></td></tr>
<tr class="separator:gaba5ac1fc686a1d43125ff1e3550de708"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga145f43dae5d1d499a02248a306d35d9f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga145f43dae5d1d499a02248a306d35d9f">XUSBPSU_TEST_SE0_NAK</a>&#160;&#160;&#160;3U</td></tr>
<tr class="memdesc:ga145f43dae5d1d499a02248a306d35d9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test Mode SE0_NAK.  <a href="#ga145f43dae5d1d499a02248a306d35d9f">More...</a><br/></td></tr>
<tr class="separator:ga145f43dae5d1d499a02248a306d35d9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7bd0ead386f64199721fdbdaee530e25"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga7bd0ead386f64199721fdbdaee530e25">XUSBPSU_TEST_PACKET</a>&#160;&#160;&#160;4U</td></tr>
<tr class="memdesc:ga7bd0ead386f64199721fdbdaee530e25"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test Mode TEST PACKET.  <a href="#ga7bd0ead386f64199721fdbdaee530e25">More...</a><br/></td></tr>
<tr class="separator:ga7bd0ead386f64199721fdbdaee530e25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadfc13d0ed152c8a400dba485d2b55d35"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gadfc13d0ed152c8a400dba485d2b55d35">XUSBPSU_TEST_FORCE_ENABLE</a>&#160;&#160;&#160;5U</td></tr>
<tr class="memdesc:gadfc13d0ed152c8a400dba485d2b55d35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test Mode FORCE ENABLE.  <a href="#gadfc13d0ed152c8a400dba485d2b55d35">More...</a><br/></td></tr>
<tr class="separator:gadfc13d0ed152c8a400dba485d2b55d35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac4a7f6cc7385c7af0dfd040d1965e987"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gac4a7f6cc7385c7af0dfd040d1965e987">XUSBPSU_STATE_ATTACHED</a>&#160;&#160;&#160;0U</td></tr>
<tr class="memdesc:gac4a7f6cc7385c7af0dfd040d1965e987"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device State Attach.  <a href="#gac4a7f6cc7385c7af0dfd040d1965e987">More...</a><br/></td></tr>
<tr class="separator:gac4a7f6cc7385c7af0dfd040d1965e987"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab0e5e54dfc6c271a215f191f119a9193"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gab0e5e54dfc6c271a215f191f119a9193">XUSBPSU_STATE_POWERED</a>&#160;&#160;&#160;1U</td></tr>
<tr class="memdesc:gab0e5e54dfc6c271a215f191f119a9193"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device State Power.  <a href="#gab0e5e54dfc6c271a215f191f119a9193">More...</a><br/></td></tr>
<tr class="separator:gab0e5e54dfc6c271a215f191f119a9193"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7d6e17c324943f3fc70ff60980985ee1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga7d6e17c324943f3fc70ff60980985ee1">XUSBPSU_STATE_DEFAULT</a>&#160;&#160;&#160;2U</td></tr>
<tr class="memdesc:ga7d6e17c324943f3fc70ff60980985ee1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device State Default.  <a href="#ga7d6e17c324943f3fc70ff60980985ee1">More...</a><br/></td></tr>
<tr class="separator:ga7d6e17c324943f3fc70ff60980985ee1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga10077a7a78df717317306ba0e42610bd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga10077a7a78df717317306ba0e42610bd">XUSBPSU_STATE_ADDRESS</a>&#160;&#160;&#160;3U</td></tr>
<tr class="memdesc:ga10077a7a78df717317306ba0e42610bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device State Address.  <a href="#ga10077a7a78df717317306ba0e42610bd">More...</a><br/></td></tr>
<tr class="separator:ga10077a7a78df717317306ba0e42610bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae3a3281573703ad8e23f87108ba00bf9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gae3a3281573703ad8e23f87108ba00bf9">XUSBPSU_STATE_CONFIGURED</a>&#160;&#160;&#160;4U</td></tr>
<tr class="memdesc:gae3a3281573703ad8e23f87108ba00bf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device State Configure.  <a href="#gae3a3281573703ad8e23f87108ba00bf9">More...</a><br/></td></tr>
<tr class="separator:gae3a3281573703ad8e23f87108ba00bf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga29bd4b024c2f53d670ace256dd29b0c7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga29bd4b024c2f53d670ace256dd29b0c7">XUSBPSU_STATE_SUSPENDED</a>&#160;&#160;&#160;5U</td></tr>
<tr class="memdesc:ga29bd4b024c2f53d670ace256dd29b0c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device State Suspend.  <a href="#ga29bd4b024c2f53d670ace256dd29b0c7">More...</a><br/></td></tr>
<tr class="separator:ga29bd4b024c2f53d670ace256dd29b0c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad04774b7c7c7d3c95121208888438b1e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gad04774b7c7c7d3c95121208888438b1e">XUSBPSU_SPEED_UNKNOWN</a>&#160;&#160;&#160;0U</td></tr>
<tr class="memdesc:gad04774b7c7c7d3c95121208888438b1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device Speed Unknown.  <a href="#gad04774b7c7c7d3c95121208888438b1e">More...</a><br/></td></tr>
<tr class="separator:gad04774b7c7c7d3c95121208888438b1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacffd9c26017dc32043d88f8a7b85bc19"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gacffd9c26017dc32043d88f8a7b85bc19">XUSBPSU_SPEED_LOW</a>&#160;&#160;&#160;1U</td></tr>
<tr class="memdesc:gacffd9c26017dc32043d88f8a7b85bc19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device Speed Low.  <a href="#gacffd9c26017dc32043d88f8a7b85bc19">More...</a><br/></td></tr>
<tr class="separator:gacffd9c26017dc32043d88f8a7b85bc19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga59f79176f4a1991bf8b9bb1e5b178dc3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga59f79176f4a1991bf8b9bb1e5b178dc3">XUSBPSU_SPEED_FULL</a>&#160;&#160;&#160;2U</td></tr>
<tr class="memdesc:ga59f79176f4a1991bf8b9bb1e5b178dc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device Speed Full.  <a href="#ga59f79176f4a1991bf8b9bb1e5b178dc3">More...</a><br/></td></tr>
<tr class="separator:ga59f79176f4a1991bf8b9bb1e5b178dc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad1505139cec9bf7dda6deb3cb292a835"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gad1505139cec9bf7dda6deb3cb292a835">XUSBPSU_SPEED_HIGH</a>&#160;&#160;&#160;3U</td></tr>
<tr class="memdesc:gad1505139cec9bf7dda6deb3cb292a835"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device Speed High.  <a href="#gad1505139cec9bf7dda6deb3cb292a835">More...</a><br/></td></tr>
<tr class="separator:gad1505139cec9bf7dda6deb3cb292a835"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga907197f8e0fa8febbc3c7794c877c147"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga907197f8e0fa8febbc3c7794c877c147">XUSBPSU_SPEED_SUPER</a>&#160;&#160;&#160;4U</td></tr>
<tr class="memdesc:ga907197f8e0fa8febbc3c7794c877c147"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device Speed Speed.  <a href="#ga907197f8e0fa8febbc3c7794c877c147">More...</a><br/></td></tr>
<tr class="separator:ga907197f8e0fa8febbc3c7794c877c147"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf0d0c97e95ee2e5bf13f6ec19b26f52b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gaf0d0c97e95ee2e5bf13f6ec19b26f52b">XUSBPSU_DEVTEN_VNDRDEVTSTRCVEDEN</a>&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 12U)</td></tr>
<tr class="memdesc:gaf0d0c97e95ee2e5bf13f6ec19b26f52b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Vendor Device Test LMP Received Event.  <a href="#gaf0d0c97e95ee2e5bf13f6ec19b26f52b">More...</a><br/></td></tr>
<tr class="separator:gaf0d0c97e95ee2e5bf13f6ec19b26f52b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad7b4e70ee47462229a243ba71ab98aa1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gad7b4e70ee47462229a243ba71ab98aa1">XUSBPSU_DEVTEN_EVNTOVERFLOWEN</a>&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 11U)</td></tr>
<tr class="memdesc:gad7b4e70ee47462229a243ba71ab98aa1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reserved.  <a href="#gad7b4e70ee47462229a243ba71ab98aa1">More...</a><br/></td></tr>
<tr class="separator:gad7b4e70ee47462229a243ba71ab98aa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e135c0d82f35f437fb80427b1caf843"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga1e135c0d82f35f437fb80427b1caf843">XUSBPSU_DEVTEN_CMDCMPLTEN</a>&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 10U)</td></tr>
<tr class="memdesc:ga1e135c0d82f35f437fb80427b1caf843"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reserved.  <a href="#ga1e135c0d82f35f437fb80427b1caf843">More...</a><br/></td></tr>
<tr class="separator:ga1e135c0d82f35f437fb80427b1caf843"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga105e755bfb3830d1334916cbc95cb4c8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga105e755bfb3830d1334916cbc95cb4c8">XUSBPSU_DEVTEN_ERRTICERREN</a>&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 9U)</td></tr>
<tr class="memdesc:ga105e755bfb3830d1334916cbc95cb4c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Erratic Error Event Enable.  <a href="#ga105e755bfb3830d1334916cbc95cb4c8">More...</a><br/></td></tr>
<tr class="separator:ga105e755bfb3830d1334916cbc95cb4c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad91516b6d8d74921d7e65988f9a3a4ce"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gad91516b6d8d74921d7e65988f9a3a4ce">XUSBPSU_DEVTEN_SOFEN</a>&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 7U)</td></tr>
<tr class="memdesc:gad91516b6d8d74921d7e65988f9a3a4ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start of (u)frame.  <a href="#gad91516b6d8d74921d7e65988f9a3a4ce">More...</a><br/></td></tr>
<tr class="separator:gad91516b6d8d74921d7e65988f9a3a4ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad6365a31a59917692626cfcdfe806fa4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gad6365a31a59917692626cfcdfe806fa4">XUSBPSU_DEVTEN_EOPFEN</a>&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 6U)</td></tr>
<tr class="memdesc:gad6365a31a59917692626cfcdfe806fa4"><td class="mdescLeft">&#160;</td><td class="mdescRight">U3/L2-L1 Suspend Event Enable.  <a href="#gad6365a31a59917692626cfcdfe806fa4">More...</a><br/></td></tr>
<tr class="separator:gad6365a31a59917692626cfcdfe806fa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa3d4a6688e2c52ea5dd11228de1673d8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gaa3d4a6688e2c52ea5dd11228de1673d8">XUSBPSU_DEVTEN_HIBERNATIONREQEVTEN</a>&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 5U)</td></tr>
<tr class="memdesc:gaa3d4a6688e2c52ea5dd11228de1673d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Hibernation Request Event.  <a href="#gaa3d4a6688e2c52ea5dd11228de1673d8">More...</a><br/></td></tr>
<tr class="separator:gaa3d4a6688e2c52ea5dd11228de1673d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga31f8bfbbcc6b7c06a7650c6e5562ad6b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga31f8bfbbcc6b7c06a7650c6e5562ad6b">XUSBPSU_DEVTEN_WKUPEVTEN</a>&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 4U)</td></tr>
<tr class="memdesc:ga31f8bfbbcc6b7c06a7650c6e5562ad6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resume/Remote Wakeup Detected Event Enable.  <a href="#ga31f8bfbbcc6b7c06a7650c6e5562ad6b">More...</a><br/></td></tr>
<tr class="separator:ga31f8bfbbcc6b7c06a7650c6e5562ad6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf77de6ef99216d8d681032f133438d1d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gaf77de6ef99216d8d681032f133438d1d">XUSBPSU_DEVTEN_ULSTCNGEN</a>&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 3U)</td></tr>
<tr class="memdesc:gaf77de6ef99216d8d681032f133438d1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Link State Change Event Enable.  <a href="#gaf77de6ef99216d8d681032f133438d1d">More...</a><br/></td></tr>
<tr class="separator:gaf77de6ef99216d8d681032f133438d1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacff30d70dc978fce3f0bd863c90195fe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gacff30d70dc978fce3f0bd863c90195fe">XUSBPSU_DEVTEN_CONNECTDONEEN</a>&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 2U)</td></tr>
<tr class="memdesc:gacff30d70dc978fce3f0bd863c90195fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connection Done Enable.  <a href="#gacff30d70dc978fce3f0bd863c90195fe">More...</a><br/></td></tr>
<tr class="separator:gacff30d70dc978fce3f0bd863c90195fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3b1344d907f7ae5c9194f79603a2e12f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga3b1344d907f7ae5c9194f79603a2e12f">XUSBPSU_DEVTEN_USBRSTEN</a>&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 1U)</td></tr>
<tr class="memdesc:ga3b1344d907f7ae5c9194f79603a2e12f"><td class="mdescLeft">&#160;</td><td class="mdescRight">USB Reset Enable.  <a href="#ga3b1344d907f7ae5c9194f79603a2e12f">More...</a><br/></td></tr>
<tr class="separator:ga3b1344d907f7ae5c9194f79603a2e12f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ef571f8495a685e2128d3691afee75e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga1ef571f8495a685e2128d3691afee75e">XUSBPSU_DEVTEN_DISCONNEVTEN</a>&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 0U)</td></tr>
<tr class="memdesc:ga1ef571f8495a685e2128d3691afee75e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disconnect Detected Event Enable.  <a href="#ga1ef571f8495a685e2128d3691afee75e">More...</a><br/></td></tr>
<tr class="separator:ga1ef571f8495a685e2128d3691afee75e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga1cfed736380199beddc59a5a00a53109"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_x_usb_psu___config.html">XUsbPsu_Config</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga1cfed736380199beddc59a5a00a53109">Usb_Config</a></td></tr>
<tr class="memdesc:ga1cfed736380199beddc59a5a00a53109"><td class="mdescLeft">&#160;</td><td class="mdescRight">typedef configuration structure  <a href="#ga1cfed736380199beddc59a5a00a53109">More...</a><br/></td></tr>
<tr class="separator:ga1cfed736380199beddc59a5a00a53109"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga5eba683d84892a8eca521da5cc5e1a66"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga5eba683d84892a8eca521da5cc5e1a66">XusbPsuLinkState</a> { <br/>
&#160;&#160;<a class="el" href="group__usbpsu__api.html#gga5eba683d84892a8eca521da5cc5e1a66afe3d6c328c802db5b18dfcdd00505ab0">XUSBPSU_LINK_STATE_U0</a> = 0x00U, 
<a class="el" href="group__usbpsu__api.html#gga5eba683d84892a8eca521da5cc5e1a66a0cc1bb01fca234acc94f396d46ecfeea">XUSBPSU_LINK_STATE_U1</a> = 0x01U, 
<a class="el" href="group__usbpsu__api.html#gga5eba683d84892a8eca521da5cc5e1a66a8cbe3106db027d4b21bc9b5511f97951">XUSBPSU_LINK_STATE_U2</a> = 0x02U, 
<a class="el" href="group__usbpsu__api.html#gga5eba683d84892a8eca521da5cc5e1a66af8dfb7366ff2fe04bd0de38f07d6a4a6">XUSBPSU_LINK_STATE_U3</a> = 0x03U, 
<br/>
&#160;&#160;<a class="el" href="group__usbpsu__api.html#gga5eba683d84892a8eca521da5cc5e1a66ae05d91dc4a876fa3b72138cb3c87cd1c">XUSBPSU_LINK_STATE_SS_DIS</a> = 0x04U, 
<a class="el" href="group__usbpsu__api.html#gga5eba683d84892a8eca521da5cc5e1a66ae5ba232f78dca288ae89adf43ce93abc">XUSBPSU_LINK_STATE_RX_DET</a> = 0x05U, 
<a class="el" href="group__usbpsu__api.html#gga5eba683d84892a8eca521da5cc5e1a66abbd319d56175378745e0ab12ffe89bd3">XUSBPSU_LINK_STATE_SS_INACT</a> = 0x06U, 
<a class="el" href="group__usbpsu__api.html#gga5eba683d84892a8eca521da5cc5e1a66a581c120e91cd56b8b313bfb51aae7a90">XUSBPSU_LINK_STATE_POLL</a> = 0x07U, 
<br/>
&#160;&#160;<a class="el" href="group__usbpsu__api.html#gga5eba683d84892a8eca521da5cc5e1a66a421aa73fd4935069574c12a1297c2fe3">XUSBPSU_LINK_STATE_RECOV</a> = 0x08U, 
<a class="el" href="group__usbpsu__api.html#gga5eba683d84892a8eca521da5cc5e1a66aa930411d7862a22eec26e564c6a9989a">XUSBPSU_LINK_STATE_HRESET</a> = 0x09U, 
<a class="el" href="group__usbpsu__api.html#gga5eba683d84892a8eca521da5cc5e1a66aad93658bbb869a238fc915bf668f2ff4">XUSBPSU_LINK_STATE_CMPLY</a> = 0x0AU, 
<a class="el" href="group__usbpsu__api.html#gga5eba683d84892a8eca521da5cc5e1a66a3957d29efbfdbb855a6e6df3528616af">XUSBPSU_LINK_STATE_LPBK</a> = 0x0BU, 
<br/>
&#160;&#160;<a class="el" href="group__usbpsu__api.html#gga5eba683d84892a8eca521da5cc5e1a66a502bd6e5ef675d832b0bd54929310e81">XUSBPSU_LINK_STATE_RESET</a> = 0x0EU, 
<a class="el" href="group__usbpsu__api.html#gga5eba683d84892a8eca521da5cc5e1a66a2af87c85cc425bd3e363ca5ee4b1733c">XUSBPSU_LINK_STATE_RESUME</a> = 0x0FU
<br/>
 }</td></tr>
<tr class="separator:ga5eba683d84892a8eca521da5cc5e1a66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga01b275c406db01f76fc27ce428e859b0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga01b275c406db01f76fc27ce428e859b0">XusbPsuLinkStateChange</a> { <br/>
&#160;&#160;<a class="el" href="group__usbpsu__api.html#gga01b275c406db01f76fc27ce428e859b0a2e63b0ac26e593eeeb43035224f68192">XUSBPSU_LINK_STATE_CHANGE_U0</a> = 0x00U, 
<a class="el" href="group__usbpsu__api.html#gga01b275c406db01f76fc27ce428e859b0abecef2ba0ab7d5a3cefbaf6ea9d2ede9">XUSBPSU_LINK_STATE_CHANGE_SS_DIS</a> = 0x04U, 
<a class="el" href="group__usbpsu__api.html#gga01b275c406db01f76fc27ce428e859b0abe489953b0c5466e4b739e1d3fdd060b">XUSBPSU_LINK_STATE_CHANGE_RX_DET</a> = 0x05U, 
<a class="el" href="group__usbpsu__api.html#gga01b275c406db01f76fc27ce428e859b0a313f455261c209436c19838a51a14c79">XUSBPSU_LINK_STATE_CHANGE_SS_INACT</a> = 0x06U, 
<br/>
&#160;&#160;<a class="el" href="group__usbpsu__api.html#gga01b275c406db01f76fc27ce428e859b0af0d96259a79d7e872d8659f25fd0832a">XUSBPSU_LINK_STATE_CHANGE_RECOV</a> = 0x08U, 
<a class="el" href="group__usbpsu__api.html#gga01b275c406db01f76fc27ce428e859b0a6a7b1e6914461c7328a366280bd81e43">XUSBPSU_LINK_STATE_CHANGE_CMPLY</a> = 0x0AU
<br/>
 }</td></tr>
<tr class="separator:ga01b275c406db01f76fc27ce428e859b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga55228afff6b16b58790b91efb185eff5"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga55228afff6b16b58790b91efb185eff5">XUsbPsu_CfgInitialize</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, <a class="el" href="struct_x_usb_psu___config.html">XUsbPsu_Config</a> *ConfigPtr, u32 BaseAddress)</td></tr>
<tr class="memdesc:ga55228afff6b16b58790b91efb185eff5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function does the following:  <a href="#ga55228afff6b16b58790b91efb185eff5">More...</a><br/></td></tr>
<tr class="separator:ga55228afff6b16b58790b91efb185eff5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6d7651e8afca56974940464709b8a3ed"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga6d7651e8afca56974940464709b8a3ed">XUsbPsu_Start</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga6d7651e8afca56974940464709b8a3ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts the controller so that host can detect this device.  <a href="#ga6d7651e8afca56974940464709b8a3ed">More...</a><br/></td></tr>
<tr class="separator:ga6d7651e8afca56974940464709b8a3ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7fa4e391a5107c357c314fa5e550e370"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga7fa4e391a5107c357c314fa5e550e370">XUsbPsu_Stop</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga7fa4e391a5107c357c314fa5e550e370"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stops the controller so that the device disconnects from the host.  <a href="#ga7fa4e391a5107c357c314fa5e550e370">More...</a><br/></td></tr>
<tr class="separator:ga7fa4e391a5107c357c314fa5e550e370"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8eb71617c93d98325d328d7801bbb6bf"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga8eb71617c93d98325d328d7801bbb6bf">XUsbPsu_GetLinkState</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga8eb71617c93d98325d328d7801bbb6bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets current state of USB link.  <a href="#ga8eb71617c93d98325d328d7801bbb6bf">More...</a><br/></td></tr>
<tr class="separator:ga8eb71617c93d98325d328d7801bbb6bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4df83ee534df24f4403e51ae9423238a"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga4df83ee534df24f4403e51ae9423238a">XUsbPsu_SetLinkState</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, <a class="el" href="group__usbpsu__api.html#ga01b275c406db01f76fc27ce428e859b0">XusbPsuLinkStateChange</a> State)</td></tr>
<tr class="memdesc:ga4df83ee534df24f4403e51ae9423238a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets USB Link to a particular State.  <a href="#ga4df83ee534df24f4403e51ae9423238a">More...</a><br/></td></tr>
<tr class="separator:ga4df83ee534df24f4403e51ae9423238a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa511f1b4207a9b718f8951e2f3b0ac90"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gaa511f1b4207a9b718f8951e2f3b0ac90">XUsbPsu_SetU1SleepTimeout</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 Timeout)</td></tr>
<tr class="memdesc:gaa511f1b4207a9b718f8951e2f3b0ac90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets U1 sleep timeout.  <a href="#gaa511f1b4207a9b718f8951e2f3b0ac90">More...</a><br/></td></tr>
<tr class="separator:gaa511f1b4207a9b718f8951e2f3b0ac90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gade3b6c0bdb87c504d946212311c04216"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gade3b6c0bdb87c504d946212311c04216">XUsbPsu_SetU2SleepTimeout</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 Timeout)</td></tr>
<tr class="memdesc:gade3b6c0bdb87c504d946212311c04216"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets U2 sleep timeout.  <a href="#gade3b6c0bdb87c504d946212311c04216">More...</a><br/></td></tr>
<tr class="separator:gade3b6c0bdb87c504d946212311c04216"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga314e8d22a5f1a2e0e4bef7f0c7bffe85"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga314e8d22a5f1a2e0e4bef7f0c7bffe85">XUsbPsu_AcceptU1U2Sleep</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga314e8d22a5f1a2e0e4bef7f0c7bffe85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable Accept U1 and U2 sleep enable.  <a href="#ga314e8d22a5f1a2e0e4bef7f0c7bffe85">More...</a><br/></td></tr>
<tr class="separator:ga314e8d22a5f1a2e0e4bef7f0c7bffe85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab610beaf7a6f5703f123e6682bea8c45"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gab610beaf7a6f5703f123e6682bea8c45">XUsbPsu_U1SleepEnable</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:gab610beaf7a6f5703f123e6682bea8c45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables U1 enable sleep.  <a href="#gab610beaf7a6f5703f123e6682bea8c45">More...</a><br/></td></tr>
<tr class="separator:gab610beaf7a6f5703f123e6682bea8c45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5340d1fa1682b73d5f4da55eff3b0a0b"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga5340d1fa1682b73d5f4da55eff3b0a0b">XUsbPsu_U2SleepEnable</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga5340d1fa1682b73d5f4da55eff3b0a0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables U2 enable sleep.  <a href="#ga5340d1fa1682b73d5f4da55eff3b0a0b">More...</a><br/></td></tr>
<tr class="separator:ga5340d1fa1682b73d5f4da55eff3b0a0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga35ea7b99952969130f6bc35b088b16a0"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga35ea7b99952969130f6bc35b088b16a0">XUsbPsu_U1SleepDisable</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga35ea7b99952969130f6bc35b088b16a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables U1 disable sleep.  <a href="#ga35ea7b99952969130f6bc35b088b16a0">More...</a><br/></td></tr>
<tr class="separator:ga35ea7b99952969130f6bc35b088b16a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gace8c49312a72bbabfb622b62d88ffc0a"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gace8c49312a72bbabfb622b62d88ffc0a">XUsbPsu_U2SleepDisable</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:gace8c49312a72bbabfb622b62d88ffc0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables U2 disable sleep.  <a href="#gace8c49312a72bbabfb622b62d88ffc0a">More...</a><br/></td></tr>
<tr class="separator:gace8c49312a72bbabfb622b62d88ffc0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7e0a64e9adf5e221b4bd8386ad38055e"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga7e0a64e9adf5e221b4bd8386ad38055e">XUsbPsu_IsSuperSpeed</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga7e0a64e9adf5e221b4bd8386ad38055e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if the current speed is super speed or not.  <a href="#ga7e0a64e9adf5e221b4bd8386ad38055e">More...</a><br/></td></tr>
<tr class="separator:ga7e0a64e9adf5e221b4bd8386ad38055e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacc8914c2eac6b7415db30b937470505c"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct_x_usb_psu___trb.html">XUsbPsu_Trb</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gacc8914c2eac6b7415db30b937470505c">__attribute__</a> ((packed))</td></tr>
<tr class="memdesc:gacc8914c2eac6b7415db30b937470505c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transfer Request Block - Hardware format.  <a href="#gacc8914c2eac6b7415db30b937470505c">More...</a><br/></td></tr>
<tr class="separator:gacc8914c2eac6b7415db30b937470505c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1a566eeb18fcd70e9cf6024f2cf8a35b"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga1a566eeb18fcd70e9cf6024f2cf8a35b">XUsbPsu_EpEnable</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir, u16 Maxsize, u8 <a class="el" href="xusbpsu_8h.html#a87b4a0cb9f280142ee92fbed38656b61">Type</a>, u8 Restore)</td></tr>
<tr class="memdesc:ga1a566eeb18fcd70e9cf6024f2cf8a35b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables endpoint for sending/receiving data.  <a href="#ga1a566eeb18fcd70e9cf6024f2cf8a35b">More...</a><br/></td></tr>
<tr class="separator:ga1a566eeb18fcd70e9cf6024f2cf8a35b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab3a191b5b5a02738beffd951ce4883d8"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gab3a191b5b5a02738beffd951ce4883d8">XUsbPsu_EpDisable</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir)</td></tr>
<tr class="memdesc:gab3a191b5b5a02738beffd951ce4883d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables Endpoint.  <a href="#gab3a191b5b5a02738beffd951ce4883d8">More...</a><br/></td></tr>
<tr class="separator:gab3a191b5b5a02738beffd951ce4883d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f081ab527bf9b7a15bd24ebea69138b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga1f081ab527bf9b7a15bd24ebea69138b">XUsbPsu_ClearStalls</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga1f081ab527bf9b7a15bd24ebea69138b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears stall on all endpoints.  <a href="#ga1f081ab527bf9b7a15bd24ebea69138b">More...</a><br/></td></tr>
<tr class="separator:ga1f081ab527bf9b7a15bd24ebea69138b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a977327906f2995960e50d429703687"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga9a977327906f2995960e50d429703687">XUsbPsu_EpBufferSend</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEp, u8 *BufferPtr, u32 BufferLen)</td></tr>
<tr class="memdesc:ga9a977327906f2995960e50d429703687"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initiates DMA to send data on endpoint to the host.  <a href="#ga9a977327906f2995960e50d429703687">More...</a><br/></td></tr>
<tr class="separator:ga9a977327906f2995960e50d429703687"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad0102ce2327d084245189584307ecdfe"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gad0102ce2327d084245189584307ecdfe">XUsbPsu_EpBufferRecv</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEp, u8 *BufferPtr, u32 Length)</td></tr>
<tr class="memdesc:gad0102ce2327d084245189584307ecdfe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initiates DMA to receive data on endpoint from host.  <a href="#gad0102ce2327d084245189584307ecdfe">More...</a><br/></td></tr>
<tr class="separator:gad0102ce2327d084245189584307ecdfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga07f17ab6f8a9e4881fab867ff7e4ecaa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga07f17ab6f8a9e4881fab867ff7e4ecaa">XUsbPsu_EpSetStall</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 Epnum, u8 Dir)</td></tr>
<tr class="memdesc:ga07f17ab6f8a9e4881fab867ff7e4ecaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stalls an endpoint.  <a href="#ga07f17ab6f8a9e4881fab867ff7e4ecaa">More...</a><br/></td></tr>
<tr class="separator:ga07f17ab6f8a9e4881fab867ff7e4ecaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeff04b67a7a4a8c63da2327c6ae5e81b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gaeff04b67a7a4a8c63da2327c6ae5e81b">XUsbPsu_EpClearStall</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 Epnum, u8 Dir)</td></tr>
<tr class="memdesc:gaeff04b67a7a4a8c63da2327c6ae5e81b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears stall on an endpoint.  <a href="#gaeff04b67a7a4a8c63da2327c6ae5e81b">More...</a><br/></td></tr>
<tr class="separator:gaeff04b67a7a4a8c63da2327c6ae5e81b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad585fe1304adfd139727220832c2dcf5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gad585fe1304adfd139727220832c2dcf5">XUsbPsu_SetEpHandler</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 Epnum, u8 Dir, void(*Handler)(void *, u32, u32))</td></tr>
<tr class="memdesc:gad585fe1304adfd139727220832c2dcf5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets an user handler to be called after data is sent/received by an endpoint.  <a href="#gad585fe1304adfd139727220832c2dcf5">More...</a><br/></td></tr>
<tr class="separator:gad585fe1304adfd139727220832c2dcf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga940e5d8d4c56eec4e394507eb0e1ab8b"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga940e5d8d4c56eec4e394507eb0e1ab8b">XUsbPsu_IsEpStalled</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 Epnum, u8 Dir)</td></tr>
<tr class="memdesc:ga940e5d8d4c56eec4e394507eb0e1ab8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns status of endpoint whether it is stalled or not.  <a href="#ga940e5d8d4c56eec4e394507eb0e1ab8b">More...</a><br/></td></tr>
<tr class="separator:ga940e5d8d4c56eec4e394507eb0e1ab8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0358f9d4714f7d4e19d429ccf8cc6b26"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga0358f9d4714f7d4e19d429ccf8cc6b26">XUsbPsu_StopTransfer</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir, u8 Force)</td></tr>
<tr class="memdesc:ga0358f9d4714f7d4e19d429ccf8cc6b26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stops transfer on Endpoint.  <a href="#ga0358f9d4714f7d4e19d429ccf8cc6b26">More...</a><br/></td></tr>
<tr class="separator:ga0358f9d4714f7d4e19d429ccf8cc6b26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9b106790d1b007e134bda766af314a9a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga9b106790d1b007e134bda766af314a9a">XUsbPsu_IntrHandler</a> (void *XUsbPsuInstancePtr)</td></tr>
<tr class="memdesc:ga9b106790d1b007e134bda766af314a9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main interrupt handler.  <a href="#ga9b106790d1b007e134bda766af314a9a">More...</a><br/></td></tr>
<tr class="separator:ga9b106790d1b007e134bda766af314a9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga48e6e534c10a7a99be5606a0583c2129"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga48e6e534c10a7a99be5606a0583c2129">XUsbPsu_EnableIntr</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:ga48e6e534c10a7a99be5606a0583c2129"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables an interrupt in event enable RegValister.  <a href="#ga48e6e534c10a7a99be5606a0583c2129">More...</a><br/></td></tr>
<tr class="separator:ga48e6e534c10a7a99be5606a0583c2129"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8c15325ffc60b58e561b5e7f874b099b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga8c15325ffc60b58e561b5e7f874b099b">XUsbPsu_DisableIntr</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:ga8c15325ffc60b58e561b5e7f874b099b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables an interrupt in event enable RegValister.  <a href="#ga8c15325ffc60b58e561b5e7f874b099b">More...</a><br/></td></tr>
<tr class="separator:ga8c15325ffc60b58e561b5e7f874b099b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga12567217fd7112e7d8fc4c6d91b20e11"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga12567217fd7112e7d8fc4c6d91b20e11">XUsbPsu_SetDeviceAddress</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u16 Addr)</td></tr>
<tr class="memdesc:ga12567217fd7112e7d8fc4c6d91b20e11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the device address of the core.  <a href="#ga12567217fd7112e7d8fc4c6d91b20e11">More...</a><br/></td></tr>
<tr class="separator:ga12567217fd7112e7d8fc4c6d91b20e11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad13cbcf5858fa37dcba606bed25ed338"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gad13cbcf5858fa37dcba606bed25ed338">XUsbPsu_Idle</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:gad13cbcf5858fa37dcba606bed25ed338"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function puts the controller into idle state by stopping the transfers for all endpoints, stopping the usb core, and clearing the event buffers.  <a href="#gad13cbcf5858fa37dcba606bed25ed338">More...</a><br/></td></tr>
<tr class="separator:gad13cbcf5858fa37dcba606bed25ed338"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaebd7592c8206e1fa22594cb2e4e44f7f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gaebd7592c8206e1fa22594cb2e4e44f7f">XUsbPsu_SetSpeed</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u32 Speed)</td></tr>
<tr class="memdesc:gaebd7592c8206e1fa22594cb2e4e44f7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets speed of the core for connecting to host.  <a href="#gaebd7592c8206e1fa22594cb2e4e44f7f">More...</a><br/></td></tr>
<tr class="separator:gaebd7592c8206e1fa22594cb2e4e44f7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4aefce4e996fb276192ce25ece82d56a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga4aefce4e996fb276192ce25ece82d56a">XUsbPsu_Sleep</a> (u32 USeconds)</td></tr>
<tr class="memdesc:ga4aefce4e996fb276192ce25ece82d56a"><td class="mdescLeft">&#160;</td><td class="mdescRight">API for Sleep routine.  <a href="#ga4aefce4e996fb276192ce25ece82d56a">More...</a><br/></td></tr>
<tr class="separator:ga4aefce4e996fb276192ce25ece82d56a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga78d9a929bbb9036e7eb4ba85b176df0d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga78d9a929bbb9036e7eb4ba85b176df0d">XUsbPsu_Ep0StallRestart</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga78d9a929bbb9036e7eb4ba85b176df0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stalls control endpoint and restarts to receive setup packet.  <a href="#ga78d9a929bbb9036e7eb4ba85b176df0d">More...</a><br/></td></tr>
<tr class="separator:ga78d9a929bbb9036e7eb4ba85b176df0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga10b910700eb2400378dc0a013410ba26"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_usb_psu___config.html">XUsbPsu_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga10b910700eb2400378dc0a013410ba26">XUsbPsu_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:ga10b910700eb2400378dc0a013410ba26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks up the device configuration based on the unique device ID.  <a href="#ga10b910700eb2400378dc0a013410ba26">More...</a><br/></td></tr>
<tr class="separator:ga10b910700eb2400378dc0a013410ba26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga539653e2157529aeedf78d66aa135a7f"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct_x_usb_psu___ep_params.html">XUsbPsu_EpParams</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga539653e2157529aeedf78d66aa135a7f">XUsbPsu_GetEpParams</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga539653e2157529aeedf78d66aa135a7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns zeroed parameters to be used by Endpoint commands.  <a href="#ga539653e2157529aeedf78d66aa135a7f">More...</a><br/></td></tr>
<tr class="separator:ga539653e2157529aeedf78d66aa135a7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2053aec2de928aab94f61f1639058b40"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir, u32 Cmd, struct <a class="el" href="struct_x_usb_psu___ep_params.html">XUsbPsu_EpParams</a> *Params)</td></tr>
<tr class="memdesc:ga2053aec2de928aab94f61f1639058b40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends Endpoint command to the Endpoint.  <a href="#ga2053aec2de928aab94f61f1639058b40">More...</a><br/></td></tr>
<tr class="separator:ga2053aec2de928aab94f61f1639058b40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee37aa4d612811db703893d777308e3e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gaee37aa4d612811db703893d777308e3e">XUsbPsu_Ep0DataDone</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *Event)</td></tr>
<tr class="memdesc:gaee37aa4d612811db703893d777308e3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks the data phase and calls user endpoint handler.  <a href="#gaee37aa4d612811db703893d777308e3e">More...</a><br/></td></tr>
<tr class="separator:gaee37aa4d612811db703893d777308e3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5fbc6f2e5e21efc273d5d44a4bdf21d1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga5fbc6f2e5e21efc273d5d44a4bdf21d1">XUsbPsu_Ep0StatusDone</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga5fbc6f2e5e21efc273d5d44a4bdf21d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks the status phase and starts next control transfer.  <a href="#ga5fbc6f2e5e21efc273d5d44a4bdf21d1">More...</a><br/></td></tr>
<tr class="separator:ga5fbc6f2e5e21efc273d5d44a4bdf21d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8dcb3237803d60fc90cea8270b6fe1a0"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga8dcb3237803d60fc90cea8270b6fe1a0">XUsbPsu_Ep0StartStatus</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *Event)</td></tr>
<tr class="memdesc:ga8dcb3237803d60fc90cea8270b6fe1a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts status phase of control transfer.  <a href="#ga8dcb3237803d60fc90cea8270b6fe1a0">More...</a><br/></td></tr>
<tr class="separator:ga8dcb3237803d60fc90cea8270b6fe1a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga426259ea4430f2bccf744c55e88dcea9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga426259ea4430f2bccf744c55e88dcea9">XUsbPsu_Ep0_EndControlData</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, struct <a class="el" href="struct_x_usb_psu___ep.html">XUsbPsu_Ep</a> *Ept)</td></tr>
<tr class="memdesc:ga426259ea4430f2bccf744c55e88dcea9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ends data phase which is used in case of the error.  <a href="#ga426259ea4430f2bccf744c55e88dcea9">More...</a><br/></td></tr>
<tr class="separator:ga426259ea4430f2bccf744c55e88dcea9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga00919567ace4342c864e3c29cf69e58d"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga00919567ace4342c864e3c29cf69e58d">XUsbPsu_EnableControlEp</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u16 <a class="el" href="xusbpsu_8h.html#a2c05396cc1ebfdd0c6122cb226444a2b">Size</a>)</td></tr>
<tr class="memdesc:ga00919567ace4342c864e3c29cf69e58d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables USB control endpoint that is EP0OUT and EP0IN of Core.  <a href="#ga00919567ace4342c864e3c29cf69e58d">More...</a><br/></td></tr>
<tr class="separator:ga00919567ace4342c864e3c29cf69e58d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4c5f57fc85b14ae756481518c5318362"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga4c5f57fc85b14ae756481518c5318362">XUsbPsu_PhyReset</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga4c5f57fc85b14ae756481518c5318362"><td class="mdescLeft">&#160;</td><td class="mdescRight">Issues core PHY reset.  <a href="#ga4c5f57fc85b14ae756481518c5318362">More...</a><br/></td></tr>
<tr class="separator:ga4c5f57fc85b14ae756481518c5318362"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2616d8b140915fc83ced2c316db3aa16"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga2616d8b140915fc83ced2c316db3aa16">XUsbPsu_WaitClearTimeout</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u32 Offset, u32 BitMask, u32 Timeout)</td></tr>
<tr class="memdesc:ga2616d8b140915fc83ced2c316db3aa16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Waits until a bit in a register is cleared or timeout occurs.  <a href="#ga2616d8b140915fc83ced2c316db3aa16">More...</a><br/></td></tr>
<tr class="separator:ga2616d8b140915fc83ced2c316db3aa16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf75d50db67d1cab7fed1c8738d1b95c9"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gaf75d50db67d1cab7fed1c8738d1b95c9">XUsbPsu_WaitSetTimeout</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u32 Offset, u32 BitMask, u32 Timeout)</td></tr>
<tr class="memdesc:gaf75d50db67d1cab7fed1c8738d1b95c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Waits until a bit in a register is set or timeout occurs.  <a href="#gaf75d50db67d1cab7fed1c8738d1b95c9">More...</a><br/></td></tr>
<tr class="separator:gaf75d50db67d1cab7fed1c8738d1b95c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga320848a4722e7150a31427f5635bab56"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga320848a4722e7150a31427f5635bab56">XUsbPsu_ReadHwParams</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 RegIndex)</td></tr>
<tr class="memdesc:ga320848a4722e7150a31427f5635bab56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads data from hardware parameters registers of the core.  <a href="#ga320848a4722e7150a31427f5635bab56">More...</a><br/></td></tr>
<tr class="separator:ga320848a4722e7150a31427f5635bab56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab04d50803db3b336711a63dfd88de5a1"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gab04d50803db3b336711a63dfd88de5a1">XUsbPsu_SetTestMode</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u32 Mode)</td></tr>
<tr class="memdesc:gab04d50803db3b336711a63dfd88de5a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables USB2 test modes.  <a href="#gab04d50803db3b336711a63dfd88de5a1">More...</a><br/></td></tr>
<tr class="separator:gab04d50803db3b336711a63dfd88de5a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga01495a656b7de39f6874390556643a1e"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga01495a656b7de39f6874390556643a1e">XUsbPsu_CoreInit</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga01495a656b7de39f6874390556643a1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the core.  <a href="#ga01495a656b7de39f6874390556643a1e">More...</a><br/></td></tr>
<tr class="separator:ga01495a656b7de39f6874390556643a1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2137782bf79ed3f9148defc507786a9c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga2137782bf79ed3f9148defc507786a9c">XUsbPsu_EventBuffersSetup</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga2137782bf79ed3f9148defc507786a9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets up the event buffers so that events are written by Core.  <a href="#ga2137782bf79ed3f9148defc507786a9c">More...</a><br/></td></tr>
<tr class="separator:ga2137782bf79ed3f9148defc507786a9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga28df688a0136bd0efa5cc25ea3272610"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga28df688a0136bd0efa5cc25ea3272610">XUsbPsu_EpGetTransferIndex</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir)</td></tr>
<tr class="memdesc:ga28df688a0136bd0efa5cc25ea3272610"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns transfer index assigned by Core for an endpoint transfer.  <a href="#ga28df688a0136bd0efa5cc25ea3272610">More...</a><br/></td></tr>
<tr class="separator:ga28df688a0136bd0efa5cc25ea3272610"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadda2d8102910024fbfa5bc7a471bea86"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gadda2d8102910024fbfa5bc7a471bea86">XUsbPsu_StartEpConfig</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u32 UsbEpNum, u8 Dir)</td></tr>
<tr class="memdesc:gadda2d8102910024fbfa5bc7a471bea86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends start new configuration command to the endpoint.  <a href="#gadda2d8102910024fbfa5bc7a471bea86">More...</a><br/></td></tr>
<tr class="separator:gadda2d8102910024fbfa5bc7a471bea86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga41fcbddbefdf6f9534c188255a0d61c1"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga41fcbddbefdf6f9534c188255a0d61c1">XUsbPsu_SetEpConfig</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir, u16 <a class="el" href="xusbpsu_8h.html#a2c05396cc1ebfdd0c6122cb226444a2b">Size</a>, u8 <a class="el" href="xusbpsu_8h.html#a87b4a0cb9f280142ee92fbed38656b61">Type</a>, u8 Restore)</td></tr>
<tr class="memdesc:ga41fcbddbefdf6f9534c188255a0d61c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends set endpoint configuration command to the endpoint.  <a href="#ga41fcbddbefdf6f9534c188255a0d61c1">More...</a><br/></td></tr>
<tr class="separator:ga41fcbddbefdf6f9534c188255a0d61c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga17a07022989463d93396219c70975c2f"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga17a07022989463d93396219c70975c2f">XUsbPsu_SetXferResource</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir)</td></tr>
<tr class="memdesc:ga17a07022989463d93396219c70975c2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends set transfer resource command to the endpoint.  <a href="#ga17a07022989463d93396219c70975c2f">More...</a><br/></td></tr>
<tr class="separator:ga17a07022989463d93396219c70975c2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacc29605c0bd7068a2f97c8c2ed0a8ea6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gacc29605c0bd7068a2f97c8c2ed0a8ea6">XUsbPsu_StopActiveTransfers</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:gacc29605c0bd7068a2f97c8c2ed0a8ea6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stops any active transfer.  <a href="#gacc29605c0bd7068a2f97c8c2ed0a8ea6">More...</a><br/></td></tr>
<tr class="separator:gacc29605c0bd7068a2f97c8c2ed0a8ea6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga16d89863a86fe201e813e39f08edaaf9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga16d89863a86fe201e813e39f08edaaf9">XUsbPsu_ClearStallAllEp</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga16d89863a86fe201e813e39f08edaaf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears stall on all stalled endpoints.  <a href="#ga16d89863a86fe201e813e39f08edaaf9">More...</a><br/></td></tr>
<tr class="separator:ga16d89863a86fe201e813e39f08edaaf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1cbbfbb1658f7fe29ec7f1b24ba87eeb"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga1cbbfbb1658f7fe29ec7f1b24ba87eeb">XUsbPsu_RecvSetup</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga1cbbfbb1658f7fe29ec7f1b24ba87eeb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initiates DMA on control endpoint 0 to receive setup packet.  <a href="#ga1cbbfbb1658f7fe29ec7f1b24ba87eeb">More...</a><br/></td></tr>
<tr class="separator:ga1cbbfbb1658f7fe29ec7f1b24ba87eeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga12ed169a9dd7d4138c1b2b6e32078f73"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga12ed169a9dd7d4138c1b2b6e32078f73">XUsbPsu_Ep0XferComplete</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *Event)</td></tr>
<tr class="memdesc:ga12ed169a9dd7d4138c1b2b6e32078f73"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handles transfer complete event of control endpoints EP0 OUT and EP0 IN.  <a href="#ga12ed169a9dd7d4138c1b2b6e32078f73">More...</a><br/></td></tr>
<tr class="separator:ga12ed169a9dd7d4138c1b2b6e32078f73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa1b5bb2653180e74fb187989bd68ee5c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gaa1b5bb2653180e74fb187989bd68ee5c">XUsbPsu_Ep0XferNotReady</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *Event)</td></tr>
<tr class="memdesc:gaa1b5bb2653180e74fb187989bd68ee5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handles transfer not ready event of control endpoints EP0 OUT and EP0 IN.  <a href="#gaa1b5bb2653180e74fb187989bd68ee5c">More...</a><br/></td></tr>
<tr class="separator:gaa1b5bb2653180e74fb187989bd68ee5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga057ab0e4a9511055a42e60b92550660d"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga057ab0e4a9511055a42e60b92550660d">XUsbPsu_Ep0Send</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 *BufferPtr, u32 BufferLen)</td></tr>
<tr class="memdesc:ga057ab0e4a9511055a42e60b92550660d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initiates DMA to send data on control endpoint EP0 IN to host.  <a href="#ga057ab0e4a9511055a42e60b92550660d">More...</a><br/></td></tr>
<tr class="separator:ga057ab0e4a9511055a42e60b92550660d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacaefa0abe2036b61d3341ee9232ffb17"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gacaefa0abe2036b61d3341ee9232ffb17">XUsbPsu_Ep0Recv</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 *BufferPtr, u32 Length)</td></tr>
<tr class="memdesc:gacaefa0abe2036b61d3341ee9232ffb17"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initiates DMA to receive data on control endpoint EP0 OUT from host.  <a href="#gacaefa0abe2036b61d3341ee9232ffb17">More...</a><br/></td></tr>
<tr class="separator:gacaefa0abe2036b61d3341ee9232ffb17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacdbae228fd638ec5e1598c4528a135cf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gacdbae228fd638ec5e1598c4528a135cf">XUsbPsu_EpTransferDeactive</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir)</td></tr>
<tr class="memdesc:gacdbae228fd638ec5e1598c4528a135cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets and deactivates transfer endpoint.  <a href="#gacdbae228fd638ec5e1598c4528a135cf">More...</a><br/></td></tr>
<tr class="separator:gacdbae228fd638ec5e1598c4528a135cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac5e91b20aedeff92c9aa7eed229c5c03"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gac5e91b20aedeff92c9aa7eed229c5c03">XUsbPsu_SaveEndpointState</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, struct <a class="el" href="struct_x_usb_psu___ep.html">XUsbPsu_Ep</a> *Ept)</td></tr>
<tr class="memdesc:gac5e91b20aedeff92c9aa7eed229c5c03"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries endpoint state and saves it in EpSavedState.  <a href="#gac5e91b20aedeff92c9aa7eed229c5c03">More...</a><br/></td></tr>
<tr class="separator:gac5e91b20aedeff92c9aa7eed229c5c03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5fdd7c08c30d46a9c3024ebe404d877e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga5fdd7c08c30d46a9c3024ebe404d877e">XUsbPsu_EpXferComplete</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *Event)</td></tr>
<tr class="memdesc:ga5fdd7c08c30d46a9c3024ebe404d877e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks the data phase and calls user endpoint handler.  <a href="#ga5fdd7c08c30d46a9c3024ebe404d877e">More...</a><br/></td></tr>
<tr class="separator:ga5fdd7c08c30d46a9c3024ebe404d877e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2d7229b7b3d937ed82f79c3ec35e97f8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga2d7229b7b3d937ed82f79c3ec35e97f8">XUsbPsu_EpXferNotReady</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *Event)</td></tr>
<tr class="memdesc:ga2d7229b7b3d937ed82f79c3ec35e97f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">For Isochronous transfer, gets the microframe time and calls respective endpoint handler.  <a href="#ga2d7229b7b3d937ed82f79c3ec35e97f8">More...</a><br/></td></tr>
<tr class="separator:ga2d7229b7b3d937ed82f79c3ec35e97f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac357a27a8c52267042cd2bc937a92331"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gac357a27a8c52267042cd2bc937a92331">XUsbPsu_EpEvent</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *Event)</td></tr>
<tr class="memdesc:gac357a27a8c52267042cd2bc937a92331"><td class="mdescLeft">&#160;</td><td class="mdescRight">Endpoint event handler.  <a href="#gac357a27a8c52267042cd2bc937a92331">More...</a><br/></td></tr>
<tr class="separator:gac357a27a8c52267042cd2bc937a92331"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab9c5e8289701e82cf940fd2d0c239fd1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gab9c5e8289701e82cf940fd2d0c239fd1">XUsbPsu_DeviceEvent</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, const struct <a class="el" href="struct_x_usb_psu___event___devt.html">XUsbPsu_Event_Devt</a> *Event)</td></tr>
<tr class="memdesc:gab9c5e8289701e82cf940fd2d0c239fd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device event handler for device specific events.  <a href="#gab9c5e8289701e82cf940fd2d0c239fd1">More...</a><br/></td></tr>
<tr class="separator:gab9c5e8289701e82cf940fd2d0c239fd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa95e2a0adf788cfa67722243e0c6e803"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gaa95e2a0adf788cfa67722243e0c6e803">XUsbPsu_EventBufferHandler</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:gaa95e2a0adf788cfa67722243e0c6e803"><td class="mdescLeft">&#160;</td><td class="mdescRight">Processes events in an event buffer.  <a href="#gaa95e2a0adf788cfa67722243e0c6e803">More...</a><br/></td></tr>
<tr class="separator:gaa95e2a0adf788cfa67722243e0c6e803"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9cf34b2d4e41f0b0b02b5dee88cd5e6e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga9cf34b2d4e41f0b0b02b5dee88cd5e6e">XUsbPsu_DisconnectIntr</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga9cf34b2d4e41f0b0b02b5dee88cd5e6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disconnects interrupt handler.  <a href="#ga9cf34b2d4e41f0b0b02b5dee88cd5e6e">More...</a><br/></td></tr>
<tr class="separator:ga9cf34b2d4e41f0b0b02b5dee88cd5e6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaefd17a7722d63d1afe8fb6d1815000ed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gaefd17a7722d63d1afe8fb6d1815000ed">XUsbPsu_ResetIntr</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:gaefd17a7722d63d1afe8fb6d1815000ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets interrupt handler.  <a href="#gaefd17a7722d63d1afe8fb6d1815000ed">More...</a><br/></td></tr>
<tr class="separator:gaefd17a7722d63d1afe8fb6d1815000ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadca8d4453c83b175a06a5e7252048110"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gadca8d4453c83b175a06a5e7252048110">XUsbPsu_Ep0Intr</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *Event)</td></tr>
<tr class="memdesc:gadca8d4453c83b175a06a5e7252048110"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handle interrupts of control endpoints EP0 OUT and EP0 IN.  <a href="#gadca8d4453c83b175a06a5e7252048110">More...</a><br/></td></tr>
<tr class="separator:gadca8d4453c83b175a06a5e7252048110"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5d44b4cfe8de7ab1fa6b98710bd7836f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga5d44b4cfe8de7ab1fa6b98710bd7836f">XUsbPsu_ConnDoneIntr</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga5d44b4cfe8de7ab1fa6b98710bd7836f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interrupt handler which indicates that the connection is completed.  <a href="#ga5d44b4cfe8de7ab1fa6b98710bd7836f">More...</a><br/></td></tr>
<tr class="separator:ga5d44b4cfe8de7ab1fa6b98710bd7836f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4cf4f7f831c9b7968d7ef0005ea64b50"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga4cf4f7f831c9b7968d7ef0005ea64b50">XUsbPsu_LinkStsChangeIntr</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u32 EvtInfo)</td></tr>
<tr class="memdesc:ga4cf4f7f831c9b7968d7ef0005ea64b50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Link status change interrupt handler.  <a href="#ga4cf4f7f831c9b7968d7ef0005ea64b50">More...</a><br/></td></tr>
<tr class="separator:ga4cf4f7f831c9b7968d7ef0005ea64b50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae4f3c8a44c949edec84f94fc3346e77b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gae4f3c8a44c949edec84f94fc3346e77b">XUsbPsu_EventHandler</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, const union <a class="el" href="union_x_usb_psu___event.html">XUsbPsu_Event</a> *Event)</td></tr>
<tr class="memdesc:gae4f3c8a44c949edec84f94fc3346e77b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Processes an event entry in the event Buffer.  <a href="#gae4f3c8a44c949edec84f94fc3346e77b">More...</a><br/></td></tr>
<tr class="separator:gae4f3c8a44c949edec84f94fc3346e77b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ga070b11a185cfb126e5ec5f3be63a77f0"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct_x_usb_psu___ep_params.html">XUsbPsu_EpParams</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga070b11a185cfb126e5ec5f3be63a77f0">__attribute__</a></td></tr>
<tr class="memdesc:ga070b11a185cfb126e5ec5f3be63a77f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Endpoint Parameters.  <a href="#ga070b11a185cfb126e5ec5f3be63a77f0">More...</a><br/></td></tr>
<tr class="separator:ga070b11a185cfb126e5ec5f3be63a77f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga846d0a038155f23633778e0bed4109ff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_usb_psu___config.html">XUsbPsu_Config</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga846d0a038155f23633778e0bed4109ff">XUsbPsu_ConfigTable</a> []</td></tr>
<tr class="memdesc:ga846d0a038155f23633778e0bed4109ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configuration table.  <a href="#ga846d0a038155f23633778e0bed4109ff">More...</a><br/></td></tr>
<tr class="separator:ga846d0a038155f23633778e0bed4109ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ga1e135c0d82f35f437fb80427b1caf843"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_DEVTEN_CMDCMPLTEN&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 10U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reserved. </p>

</div>
</div>
<a class="anchor" id="gacff30d70dc978fce3f0bd863c90195fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_DEVTEN_CONNECTDONEEN&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 2U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Connection Done Enable. </p>

<p>Referenced by <a class="el" href="xusb__intr__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1ef571f8495a685e2128d3691afee75e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_DEVTEN_DISCONNEVTEN&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 0U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disconnect Detected Event Enable. </p>

<p>Referenced by <a class="el" href="xusb__intr__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="gad6365a31a59917692626cfcdfe806fa4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_DEVTEN_EOPFEN&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 6U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>U3/L2-L1 Suspend Event Enable. </p>

</div>
</div>
<a class="anchor" id="ga105e755bfb3830d1334916cbc95cb4c8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_DEVTEN_ERRTICERREN&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 9U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Erratic Error Event Enable. </p>

</div>
</div>
<a class="anchor" id="gad7b4e70ee47462229a243ba71ab98aa1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_DEVTEN_EVNTOVERFLOWEN&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 11U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reserved. </p>

<p>Referenced by <a class="el" href="xusb__intr__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa3d4a6688e2c52ea5dd11228de1673d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_DEVTEN_HIBERNATIONREQEVTEN&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 5U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Hibernation Request Event. </p>

<p>Referenced by <a class="el" href="xusb__intr__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="gad91516b6d8d74921d7e65988f9a3a4ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_DEVTEN_SOFEN&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 7U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Start of (u)frame. </p>

</div>
</div>
<a class="anchor" id="gaf77de6ef99216d8d681032f133438d1d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_DEVTEN_ULSTCNGEN&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 3U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Link State Change Event Enable. </p>

<p>Referenced by <a class="el" href="xusb__intr__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="ga3b1344d907f7ae5c9194f79603a2e12f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_DEVTEN_USBRSTEN&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 1U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>USB Reset Enable. </p>

<p>Referenced by <a class="el" href="xusb__intr__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf0d0c97e95ee2e5bf13f6ec19b26f52b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_DEVTEN_VNDRDEVTSTRCVEDEN&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 12U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Vendor Device Test LMP Received Event. </p>

</div>
</div>
<a class="anchor" id="ga31f8bfbbcc6b7c06a7650c6e5562ad6b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_DEVTEN_WKUPEVTEN&#160;&#160;&#160;((u32)0x00000001U &lt;&lt; 4U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resume/Remote Wakeup Detected Event Enable. </p>

<p>Referenced by <a class="el" href="xusb__intr__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="gad2fd554fef58d4a23dd5e7afa9cb2ee9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_ENDPOINT_MAX_ADJUSTABLE&#160;&#160;&#160;0x80</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Max EP. </p>

</div>
</div>
<a class="anchor" id="gaab7f31fa2f463d3ebd2e0635402741f1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_ENDPOINT_XFER_BULK&#160;&#160;&#160;2U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Bulk EP. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gad0102ce2327d084245189584307ecdfe">XUsbPsu_EpBufferRecv()</a>, and <a class="el" href="group__usbpsu__api.html#ga9a977327906f2995960e50d429703687">XUsbPsu_EpBufferSend()</a>.</p>

</div>
</div>
<a class="anchor" id="ga4cc1d5f5a9d9499d04de1ff248b1fb50"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_ENDPOINT_XFER_CONTROL&#160;&#160;&#160;0U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Control EP. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga00919567ace4342c864e3c29cf69e58d">XUsbPsu_EnableControlEp()</a>.</p>

</div>
</div>
<a class="anchor" id="gae18c69e1589fab7cf7bf0202ad9fd870"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_ENDPOINT_XFER_INT&#160;&#160;&#160;3U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Interrupt EP. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gad0102ce2327d084245189584307ecdfe">XUsbPsu_EpBufferRecv()</a>, and <a class="el" href="group__usbpsu__api.html#ga9a977327906f2995960e50d429703687">XUsbPsu_EpBufferSend()</a>.</p>

</div>
</div>
<a class="anchor" id="ga428b7d5150df403d2011a466379d4860"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_ENDPOINT_XFER_ISOC&#160;&#160;&#160;1U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ISO EP. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gad0102ce2327d084245189584307ecdfe">XUsbPsu_EpBufferRecv()</a>, <a class="el" href="group__usbpsu__api.html#ga9a977327906f2995960e50d429703687">XUsbPsu_EpBufferSend()</a>, <a class="el" href="group__usbpsu__api.html#ga2d7229b7b3d937ed82f79c3ec35e97f8">XUsbPsu_EpXferNotReady()</a>, and <a class="el" href="group__usbpsu__api.html#ga41fcbddbefdf6f9534c188255a0d61c1">XUsbPsu_SetEpConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="gab099fe68c248d13c86d5c9ff3eb6cc90"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_ENDPOINT_XFERTYPE_MASK&#160;&#160;&#160;0x03</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transfer type mask. </p>

</div>
</div>
<a class="anchor" id="ga3126435e75abbfbfdcf3bfdf9d1175a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_EP_DIR_IN&#160;&#160;&#160;1U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Direction IN. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga00919567ace4342c864e3c29cf69e58d">XUsbPsu_EnableControlEp()</a>, <a class="el" href="group__usbpsu__api.html#gaee37aa4d612811db703893d777308e3e">XUsbPsu_Ep0DataDone()</a>, <a class="el" href="group__usbpsu__api.html#ga057ab0e4a9511055a42e60b92550660d">XUsbPsu_Ep0Send()</a>, <a class="el" href="group__usbpsu__api.html#ga9a977327906f2995960e50d429703687">XUsbPsu_EpBufferSend()</a>, <a class="el" href="group__usbpsu__api.html#gaeff04b67a7a4a8c63da2327c6ae5e81b">XUsbPsu_EpClearStall()</a>, <a class="el" href="group__usbpsu__api.html#gab3a191b5b5a02738beffd951ce4883d8">XUsbPsu_EpDisable()</a>, <a class="el" href="group__usbpsu__api.html#ga1a566eeb18fcd70e9cf6024f2cf8a35b">XUsbPsu_EpEnable()</a>, <a class="el" href="group__usbpsu__api.html#ga28df688a0136bd0efa5cc25ea3272610">XUsbPsu_EpGetTransferIndex()</a>, <a class="el" href="group__usbpsu__api.html#ga07f17ab6f8a9e4881fab867ff7e4ecaa">XUsbPsu_EpSetStall()</a>, <a class="el" href="group__usbpsu__api.html#gacdbae228fd638ec5e1598c4528a135cf">XUsbPsu_EpTransferDeactive()</a>, <a class="el" href="group__usbpsu__api.html#ga5fdd7c08c30d46a9c3024ebe404d877e">XUsbPsu_EpXferComplete()</a>, <a class="el" href="group__usbpsu__api.html#gad13cbcf5858fa37dcba606bed25ed338">XUsbPsu_Idle()</a>, <a class="el" href="group__usbpsu__api.html#ga940e5d8d4c56eec4e394507eb0e1ab8b">XUsbPsu_IsEpStalled()</a>, <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>, <a class="el" href="group__usbpsu__api.html#gad585fe1304adfd139727220832c2dcf5">XUsbPsu_SetEpHandler()</a>, and <a class="el" href="group__usbpsu__api.html#ga0358f9d4714f7d4e19d429ccf8cc6b26">XUsbPsu_StopTransfer()</a>.</p>

</div>
</div>
<a class="anchor" id="ga512f27591b21fe69754687c156ad0c01"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_EP_DIR_OUT&#160;&#160;&#160;0U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Direction OUT. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga00919567ace4342c864e3c29cf69e58d">XUsbPsu_EnableControlEp()</a>, <a class="el" href="group__usbpsu__api.html#gaee37aa4d612811db703893d777308e3e">XUsbPsu_Ep0DataDone()</a>, <a class="el" href="group__usbpsu__api.html#gacaefa0abe2036b61d3341ee9232ffb17">XUsbPsu_Ep0Recv()</a>, <a class="el" href="group__usbpsu__api.html#ga78d9a929bbb9036e7eb4ba85b176df0d">XUsbPsu_Ep0StallRestart()</a>, <a class="el" href="group__usbpsu__api.html#ga12ed169a9dd7d4138c1b2b6e32078f73">XUsbPsu_Ep0XferComplete()</a>, <a class="el" href="group__usbpsu__api.html#gad0102ce2327d084245189584307ecdfe">XUsbPsu_EpBufferRecv()</a>, <a class="el" href="group__usbpsu__api.html#gaeff04b67a7a4a8c63da2327c6ae5e81b">XUsbPsu_EpClearStall()</a>, <a class="el" href="group__usbpsu__api.html#gab3a191b5b5a02738beffd951ce4883d8">XUsbPsu_EpDisable()</a>, <a class="el" href="group__usbpsu__api.html#ga1a566eeb18fcd70e9cf6024f2cf8a35b">XUsbPsu_EpEnable()</a>, <a class="el" href="group__usbpsu__api.html#ga28df688a0136bd0efa5cc25ea3272610">XUsbPsu_EpGetTransferIndex()</a>, <a class="el" href="group__usbpsu__api.html#ga07f17ab6f8a9e4881fab867ff7e4ecaa">XUsbPsu_EpSetStall()</a>, <a class="el" href="group__usbpsu__api.html#gacdbae228fd638ec5e1598c4528a135cf">XUsbPsu_EpTransferDeactive()</a>, <a class="el" href="group__usbpsu__api.html#ga5fdd7c08c30d46a9c3024ebe404d877e">XUsbPsu_EpXferComplete()</a>, <a class="el" href="group__usbpsu__api.html#gad13cbcf5858fa37dcba606bed25ed338">XUsbPsu_Idle()</a>, <a class="el" href="group__usbpsu__api.html#ga940e5d8d4c56eec4e394507eb0e1ab8b">XUsbPsu_IsEpStalled()</a>, <a class="el" href="group__usbpsu__api.html#ga1cbbfbb1658f7fe29ec7f1b24ba87eeb">XUsbPsu_RecvSetup()</a>, <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>, <a class="el" href="group__usbpsu__api.html#ga41fcbddbefdf6f9534c188255a0d61c1">XUsbPsu_SetEpConfig()</a>, <a class="el" href="group__usbpsu__api.html#gad585fe1304adfd139727220832c2dcf5">XUsbPsu_SetEpHandler()</a>, <a class="el" href="group__usbpsu__api.html#gadda2d8102910024fbfa5bc7a471bea86">XUsbPsu_StartEpConfig()</a>, and <a class="el" href="group__usbpsu__api.html#ga0358f9d4714f7d4e19d429ccf8cc6b26">XUsbPsu_StopTransfer()</a>.</p>

</div>
</div>
<a class="anchor" id="ga957c4c1e84bc2b5c56296ae5a5cb1c26"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_H</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>by using protection macros </p>

</div>
</div>
<a class="anchor" id="ga59f79176f4a1991bf8b9bb1e5b178dc3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_SPEED_FULL&#160;&#160;&#160;2U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device Speed Full. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga5d44b4cfe8de7ab1fa6b98710bd7836f">XUsbPsu_ConnDoneIntr()</a>.</p>

</div>
</div>
<a class="anchor" id="gad1505139cec9bf7dda6deb3cb292a835"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_SPEED_HIGH&#160;&#160;&#160;3U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device Speed High. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga5d44b4cfe8de7ab1fa6b98710bd7836f">XUsbPsu_ConnDoneIntr()</a>.</p>

</div>
</div>
<a class="anchor" id="gacffd9c26017dc32043d88f8a7b85bc19"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_SPEED_LOW&#160;&#160;&#160;1U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device Speed Low. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga5d44b4cfe8de7ab1fa6b98710bd7836f">XUsbPsu_ConnDoneIntr()</a>.</p>

</div>
</div>
<a class="anchor" id="ga907197f8e0fa8febbc3c7794c877c147"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_SPEED_SUPER&#160;&#160;&#160;4U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device Speed Speed. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga5d44b4cfe8de7ab1fa6b98710bd7836f">XUsbPsu_ConnDoneIntr()</a>, <a class="el" href="group__usbpsu__api.html#ga7e0a64e9adf5e221b4bd8386ad38055e">XUsbPsu_IsSuperSpeed()</a>, and <a class="el" href="group__usbpsu__api.html#ga41fcbddbefdf6f9534c188255a0d61c1">XUsbPsu_SetEpConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="gad04774b7c7c7d3c95121208888438b1e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_SPEED_UNKNOWN&#160;&#160;&#160;0U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device Speed Unknown. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga9cf34b2d4e41f0b0b02b5dee88cd5e6e">XUsbPsu_DisconnectIntr()</a>.</p>

</div>
</div>
<a class="anchor" id="ga10077a7a78df717317306ba0e42610bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_STATE_ADDRESS&#160;&#160;&#160;3U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device State Address. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga12567217fd7112e7d8fc4c6d91b20e11">XUsbPsu_SetDeviceAddress()</a>.</p>

</div>
</div>
<a class="anchor" id="gac4a7f6cc7385c7af0dfd040d1965e987"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_STATE_ATTACHED&#160;&#160;&#160;0U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device State Attach. </p>

</div>
</div>
<a class="anchor" id="gae3a3281573703ad8e23f87108ba00bf9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_STATE_CONFIGURED&#160;&#160;&#160;4U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device State Configure. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga12567217fd7112e7d8fc4c6d91b20e11">XUsbPsu_SetDeviceAddress()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7d6e17c324943f3fc70ff60980985ee1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_STATE_DEFAULT&#160;&#160;&#160;2U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device State Default. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gaefd17a7722d63d1afe8fb6d1815000ed">XUsbPsu_ResetIntr()</a>, and <a class="el" href="group__usbpsu__api.html#ga12567217fd7112e7d8fc4c6d91b20e11">XUsbPsu_SetDeviceAddress()</a>.</p>

</div>
</div>
<a class="anchor" id="gab0e5e54dfc6c271a215f191f119a9193"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_STATE_POWERED&#160;&#160;&#160;1U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device State Power. </p>

</div>
</div>
<a class="anchor" id="ga29bd4b024c2f53d670ace256dd29b0c7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_STATE_SUSPENDED&#160;&#160;&#160;5U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device State Suspend. </p>

</div>
</div>
<a class="anchor" id="gadfc13d0ed152c8a400dba485d2b55d35"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_TEST_FORCE_ENABLE&#160;&#160;&#160;5U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test Mode FORCE ENABLE. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gab04d50803db3b336711a63dfd88de5a1">XUsbPsu_SetTestMode()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7af07f28c5254049183d86942b54d610"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_TEST_J&#160;&#160;&#160;1U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test Mode J. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gab04d50803db3b336711a63dfd88de5a1">XUsbPsu_SetTestMode()</a>.</p>

</div>
</div>
<a class="anchor" id="gaba5ac1fc686a1d43125ff1e3550de708"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_TEST_K&#160;&#160;&#160;2U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test Mode K. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gab04d50803db3b336711a63dfd88de5a1">XUsbPsu_SetTestMode()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7bd0ead386f64199721fdbdaee530e25"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_TEST_PACKET&#160;&#160;&#160;4U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test Mode TEST PACKET. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gab04d50803db3b336711a63dfd88de5a1">XUsbPsu_SetTestMode()</a>.</p>

</div>
</div>
<a class="anchor" id="ga145f43dae5d1d499a02248a306d35d9f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_TEST_SE0_NAK&#160;&#160;&#160;3U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test Mode SE0_NAK. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gab04d50803db3b336711a63dfd88de5a1">XUsbPsu_SetTestMode()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa8dc3536c5415d69176f27d3e51f9639"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_USB_DIR_IN&#160;&#160;&#160;0x80U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Direction to host. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga12ed169a9dd7d4138c1b2b6e32078f73">XUsbPsu_Ep0XferComplete()</a>.</p>

</div>
</div>
<a class="anchor" id="ga9338e96a71bd29d1d427f6dfc828f40f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XUSBPSU_USB_DIR_OUT&#160;&#160;&#160;0U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Direction to device. </p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga1cfed736380199beddc59a5a00a53109"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="struct_x_usb_psu___config.html">XUsbPsu_Config</a> <a class="el" href="group__usbpsu__api.html#ga1cfed736380199beddc59a5a00a53109">Usb_Config</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>typedef configuration structure </p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ga5eba683d84892a8eca521da5cc5e1a66"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__usbpsu__api.html#ga5eba683d84892a8eca521da5cc5e1a66">XusbPsuLinkState</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">XusbPsuLinkState</td><td>This typedef defines link state. </td></tr>
  </table>
  </dd>
</dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="gga5eba683d84892a8eca521da5cc5e1a66afe3d6c328c802db5b18dfcdd00505ab0"></a>XUSBPSU_LINK_STATE_U0</em>&nbsp;</td><td class="fielddoc">
<p>U0 state/ in HS - ON. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5eba683d84892a8eca521da5cc5e1a66a0cc1bb01fca234acc94f396d46ecfeea"></a>XUSBPSU_LINK_STATE_U1</em>&nbsp;</td><td class="fielddoc">
<p>U1 state. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5eba683d84892a8eca521da5cc5e1a66a8cbe3106db027d4b21bc9b5511f97951"></a>XUSBPSU_LINK_STATE_U2</em>&nbsp;</td><td class="fielddoc">
<p>U2 state/ in HS - SLEEP. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5eba683d84892a8eca521da5cc5e1a66af8dfb7366ff2fe04bd0de38f07d6a4a6"></a>XUSBPSU_LINK_STATE_U3</em>&nbsp;</td><td class="fielddoc">
<p>U3 state/ in HS - SUSPEND. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5eba683d84892a8eca521da5cc5e1a66ae05d91dc4a876fa3b72138cb3c87cd1c"></a>XUSBPSU_LINK_STATE_SS_DIS</em>&nbsp;</td><td class="fielddoc">
<p>SuperSpeed connectivity is disabled. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5eba683d84892a8eca521da5cc5e1a66ae5ba232f78dca288ae89adf43ce93abc"></a>XUSBPSU_LINK_STATE_RX_DET</em>&nbsp;</td><td class="fielddoc">
<p>Warm reset, Receiver detection. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5eba683d84892a8eca521da5cc5e1a66abbd319d56175378745e0ab12ffe89bd3"></a>XUSBPSU_LINK_STATE_SS_INACT</em>&nbsp;</td><td class="fielddoc">
<p>Link has failed SuperSpeed operation. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5eba683d84892a8eca521da5cc5e1a66a581c120e91cd56b8b313bfb51aae7a90"></a>XUSBPSU_LINK_STATE_POLL</em>&nbsp;</td><td class="fielddoc">
<p>POLL. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5eba683d84892a8eca521da5cc5e1a66a421aa73fd4935069574c12a1297c2fe3"></a>XUSBPSU_LINK_STATE_RECOV</em>&nbsp;</td><td class="fielddoc">
<p>Retrain SuperSpeed link, Perform Hot reset, Switch to Loop back mode. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5eba683d84892a8eca521da5cc5e1a66aa930411d7862a22eec26e564c6a9989a"></a>XUSBPSU_LINK_STATE_HRESET</em>&nbsp;</td><td class="fielddoc">
<p>Hot reset using Training sets. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5eba683d84892a8eca521da5cc5e1a66aad93658bbb869a238fc915bf668f2ff4"></a>XUSBPSU_LINK_STATE_CMPLY</em>&nbsp;</td><td class="fielddoc">
<p>Test the transmitter for compliance to voltage and timing specifications. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5eba683d84892a8eca521da5cc5e1a66a3957d29efbfdbb855a6e6df3528616af"></a>XUSBPSU_LINK_STATE_LPBK</em>&nbsp;</td><td class="fielddoc">
<p>For test and fault isolation. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5eba683d84892a8eca521da5cc5e1a66a502bd6e5ef675d832b0bd54929310e81"></a>XUSBPSU_LINK_STATE_RESET</em>&nbsp;</td><td class="fielddoc">
<p>RESET. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5eba683d84892a8eca521da5cc5e1a66a2af87c85cc425bd3e363ca5ee4b1733c"></a>XUSBPSU_LINK_STATE_RESUME</em>&nbsp;</td><td class="fielddoc">
<p>RESUME. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="ga01b275c406db01f76fc27ce428e859b0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__usbpsu__api.html#ga01b275c406db01f76fc27ce428e859b0">XusbPsuLinkStateChange</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">XusbPsuLinkStateChange</td><td>This typedef defines link state change. </td></tr>
  </table>
  </dd>
</dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="gga01b275c406db01f76fc27ce428e859b0a2e63b0ac26e593eeeb43035224f68192"></a>XUSBPSU_LINK_STATE_CHANGE_U0</em>&nbsp;</td><td class="fielddoc">
<p>U0 /in HS - ON. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga01b275c406db01f76fc27ce428e859b0abecef2ba0ab7d5a3cefbaf6ea9d2ede9"></a>XUSBPSU_LINK_STATE_CHANGE_SS_DIS</em>&nbsp;</td><td class="fielddoc">
<p>SuperSpeed connectivity is disabled. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga01b275c406db01f76fc27ce428e859b0abe489953b0c5466e4b739e1d3fdd060b"></a>XUSBPSU_LINK_STATE_CHANGE_RX_DET</em>&nbsp;</td><td class="fielddoc">
<p>Warm reset, Receiver detection. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga01b275c406db01f76fc27ce428e859b0a313f455261c209436c19838a51a14c79"></a>XUSBPSU_LINK_STATE_CHANGE_SS_INACT</em>&nbsp;</td><td class="fielddoc">
<p>Link has failed SuperSpeed operation. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga01b275c406db01f76fc27ce428e859b0af0d96259a79d7e872d8659f25fd0832a"></a>XUSBPSU_LINK_STATE_CHANGE_RECOV</em>&nbsp;</td><td class="fielddoc">
<p>Retrain SuperSpeed link, Perform Hot reset, Switch to Loop back mode. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga01b275c406db01f76fc27ce428e859b0a6a7b1e6914461c7328a366280bd81e43"></a>XUSBPSU_LINK_STATE_CHANGE_CMPLY</em>&nbsp;</td><td class="fielddoc">
<p>Test the transmitter for compliance to voltage and timing specifications. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gacc8914c2eac6b7415db30b937470505c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="struct_x_usb_psu___trb.html">XUsbPsu_Trb</a> <a class="el" href="struct____attribute____.html">__attribute__</a> </td>
          <td>(</td>
          <td class="paramtype">(packed)&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transfer Request Block - Hardware format. </p>
<p>Core events.</p>
<p>Device Events.</p>
<p>Device Endpoint Events.</p>
<p>Device Endpoint Events type. </p>

</div>
</div>
<a class="anchor" id="ga314e8d22a5f1a2e0e4bef7f0c7bffe85"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_AcceptU1U2Sleep </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enable Accept U1 and U2 sleep enable. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

</div>
</div>
<a class="anchor" id="ga55228afff6b16b58790b91efb185eff5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_usb_psu___config.html">XUsbPsu_Config</a> *&#160;</td>
          <td class="paramname"><em>ConfigPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>BaseAddress</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function does the following: </p>
<pre class="fragment">  - initializes a specific XUsbPsu instance.
  - sets up Event Buffer for Core to write events.
  - Core Reset and PHY Reset.
  - Sets core in Device Mode.
  - Sets default speed as HIGH_SPEED.
  - Sets Device Address to 0.
  - Enables interrupts.
</pre><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">ConfigPtr</td><td>Points to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> device configuration structure. </td></tr>
    <tr><td class="paramname">BaseAddress</td><td>Device base address in the virtual memory address space. If the address translation is not used then the physical address is passed. Unexpected errors may occur if the address mapping is changed after this function is invoked.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#afdb9b0ea8fd80a598a133cce1dd7c05f">XUsbPsu::ConfigPtr</a>, <a class="el" href="struct_x_usb_psu___config.html#aaa803eab77fc38e18becdf22821e22e4">XUsbPsu_Config::EnableSuperSpeed</a>, <a class="el" href="struct_x_usb_psu.html#ae1a79187909ced95add06dc5acb2064a">XUsbPsu::NumInEps</a>, <a class="el" href="struct_x_usb_psu.html#a65d03f0b14986135e50959098d945db2">XUsbPsu::NumOutEps</a>, <a class="el" href="xusbpsu_8h.html#a49b4750a0007cdf47d99b02c39d4ee3f">Status</a>, <a class="el" href="group__usbpsu__api.html#ga01495a656b7de39f6874390556643a1e">XUsbPsu_CoreInit()</a>, <a class="el" href="group__usbpsu__api.html#ga2137782bf79ed3f9148defc507786a9c">XUsbPsu_EventBuffersSetup()</a>, <a class="el" href="group__usbpsu__api.html#ga320848a4722e7150a31427f5635bab56">XUsbPsu_ReadHwParams()</a>, <a class="el" href="group__usbpsu__api.html#ga12567217fd7112e7d8fc4c6d91b20e11">XUsbPsu_SetDeviceAddress()</a>, and <a class="el" href="group__usbpsu__api.html#gaebd7592c8206e1fa22594cb2e4e44f7f">XUsbPsu_SetSpeed()</a>.</p>

</div>
</div>
<a class="anchor" id="ga16d89863a86fe201e813e39f08edaaf9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_ClearStallAllEp </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears stall on all stalled endpoints. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, and <a class="el" href="group__usbpsu__api.html#gaeff04b67a7a4a8c63da2327c6ae5e81b">XUsbPsu_EpClearStall()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gaefd17a7722d63d1afe8fb6d1815000ed">XUsbPsu_ResetIntr()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1f081ab527bf9b7a15bd24ebea69138b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_ClearStalls </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears stall on all endpoints. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, <a class="el" href="group__usbpsu__api.html#ga539653e2157529aeedf78d66aa135a7f">XUsbPsu_GetEpParams()</a>, and <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>.</p>

</div>
</div>
<a class="anchor" id="ga5d44b4cfe8de7ab1fa6b98710bd7836f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_ConnDoneIntr </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Interrupt handler which indicates that the connection is completed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a7d063081dccb62284227b99de12fd40a">XUsbPsu::AppData</a>, <a class="el" href="struct_x_usb_psu.html#a050cc34c0d7cc36465d4bc7b9a51c22e">XUsbPsu::HasHibernation</a>, <a class="el" href="xusbpsu_8h.html#a2c05396cc1ebfdd0c6122cb226444a2b">Size</a>, <a class="el" href="struct_usb___dev_data.html#ab54eee2cc1c6a5d178c976f187a2ea47">Usb_DevData::Speed</a>, <a class="el" href="group__usbpsu__api.html#ga00919567ace4342c864e3c29cf69e58d">XUsbPsu_EnableControlEp()</a>, <a class="el" href="group__usbpsu__api.html#ga1cbbfbb1658f7fe29ec7f1b24ba87eeb">XUsbPsu_RecvSetup()</a>, <a class="el" href="group__usbpsu__api.html#ga59f79176f4a1991bf8b9bb1e5b178dc3">XUSBPSU_SPEED_FULL</a>, <a class="el" href="group__usbpsu__api.html#gad1505139cec9bf7dda6deb3cb292a835">XUSBPSU_SPEED_HIGH</a>, <a class="el" href="group__usbpsu__api.html#gacffd9c26017dc32043d88f8a7b85bc19">XUSBPSU_SPEED_LOW</a>, and <a class="el" href="group__usbpsu__api.html#ga907197f8e0fa8febbc3c7794c877c147">XUSBPSU_SPEED_SUPER</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gab9c5e8289701e82cf940fd2d0c239fd1">XUsbPsu_DeviceEvent()</a>.</p>

</div>
</div>
<a class="anchor" id="ga01495a656b7de39f6874390556643a1e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_CoreInit </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes the core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if initialization was successful.</li>
<li>XST_FAILURE if initialization was not successful. </li>
</ul>
</dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#afdb9b0ea8fd80a598a133cce1dd7c05f">XUsbPsu::ConfigPtr</a>, <a class="el" href="struct_x_usb_psu.html#a050cc34c0d7cc36465d4bc7b9a51c22e">XUsbPsu::HasHibernation</a>, <a class="el" href="struct_x_usb_psu___config.html#a87b9ea25fdd7468b4cb5cb72ee5b494a">XUsbPsu_Config::IsCacheCoherent</a>, <a class="el" href="group__usbpsu__api.html#ga4c5f57fc85b14ae756481518c5318362">XUsbPsu_PhyReset()</a>, <a class="el" href="group__usbpsu__api.html#ga320848a4722e7150a31427f5635bab56">XUsbPsu_ReadHwParams()</a>, and <a class="el" href="group__usbpsu__api.html#ga2616d8b140915fc83ced2c316db3aa16">XUsbPsu_WaitClearTimeout()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga55228afff6b16b58790b91efb185eff5">XUsbPsu_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gab9c5e8289701e82cf940fd2d0c239fd1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_DeviceEvent </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="struct_x_usb_psu___event___devt.html">XUsbPsu_Event_Devt</a> *&#160;</td>
          <td class="paramname"><em>Event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device event handler for device specific events. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Event</td><td>Device Event occurred in core.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___event___devt.html#aea9a8e943da3c685a7f23c44788fdc69">XUsbPsu_Event_Devt::Event_Info</a>, <a class="el" href="struct_x_usb_psu.html#a050cc34c0d7cc36465d4bc7b9a51c22e">XUsbPsu::HasHibernation</a>, <a class="el" href="struct_x_usb_psu___event___devt.html#a3c7cc7cec916ba22e1b2f791daabd1e5">XUsbPsu_Event_Devt::Type</a>, <a class="el" href="group__usbpsu__api.html#ga5d44b4cfe8de7ab1fa6b98710bd7836f">XUsbPsu_ConnDoneIntr()</a>, <a class="el" href="group__usbpsu__api.html#ga9cf34b2d4e41f0b0b02b5dee88cd5e6e">XUsbPsu_DisconnectIntr()</a>, <a class="el" href="group__usbpsu__api.html#ga4cf4f7f831c9b7968d7ef0005ea64b50">XUsbPsu_LinkStsChangeIntr()</a>, and <a class="el" href="group__usbpsu__api.html#gaefd17a7722d63d1afe8fb6d1815000ed">XUsbPsu_ResetIntr()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gae4f3c8a44c949edec84f94fc3346e77b">XUsbPsu_EventHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8c15325ffc60b58e561b5e7f874b099b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_DisableIntr </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disables an interrupt in event enable RegValister. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance to be worked on. </td></tr>
    <tr><td class="paramname">Mask</td><td>OR of Interrupt Enable Masks<ul>
<li>XUSBPSU_DEVTEN_VNDRDEVTSTRCVEDEN</li>
<li>XUSBPSU_DEVTEN_EVNTOVERFLOWEN</li>
<li>XUSBPSU_DEVTEN_CMDCMPLTEN</li>
<li>XUSBPSU_DEVTEN_ERRTICERREN</li>
<li>XUSBPSU_DEVTEN_SOFEN</li>
<li>XUSBPSU_DEVTEN_EOPFEN</li>
<li>XUSBPSU_DEVTEN_HIBERNATIONREQEVTEN</li>
<li>XUSBPSU_DEVTEN_WKUPEVTEN</li>
<li>XUSBPSU_DEVTEN_ULSTCNGEN</li>
<li>XUSBPSU_DEVTEN_CONNECTDONEEN</li>
<li>XUSBPSU_DEVTEN_USBRSTEN</li>
<li>XUSBPSU_DEVTEN_DISCONNEVTEN</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

</div>
</div>
<a class="anchor" id="ga9cf34b2d4e41f0b0b02b5dee88cd5e6e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_DisconnectIntr </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disconnects interrupt handler. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a7d063081dccb62284227b99de12fd40a">XUsbPsu::AppData</a>, <a class="el" href="struct_x_usb_psu.html#a0206367c1062fe236eca8cdcb11625dd">XUsbPsu::DisconnectIntrHandler</a>, <a class="el" href="struct_x_usb_psu.html#a050cc34c0d7cc36465d4bc7b9a51c22e">XUsbPsu::HasHibernation</a>, <a class="el" href="struct_x_usb_psu.html#a08f67def1d92b23c1988c830f4d8b83f">XUsbPsu::IsConfigDone</a>, <a class="el" href="struct_usb___dev_data.html#ab54eee2cc1c6a5d178c976f187a2ea47">Usb_DevData::Speed</a>, and <a class="el" href="group__usbpsu__api.html#gad04774b7c7c7d3c95121208888438b1e">XUSBPSU_SPEED_UNKNOWN</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gab9c5e8289701e82cf940fd2d0c239fd1">XUsbPsu_DeviceEvent()</a>.</p>

</div>
</div>
<a class="anchor" id="ga00919567ace4342c864e3c29cf69e58d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_EnableControlEp </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables USB control endpoint that is EP0OUT and EP0IN of Core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Size</td><td>Control endpoint size.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE. </dd></dl>

<p>References <a class="el" href="group__usbpsu__api.html#ga4cc1d5f5a9d9499d04de1ff248b1fb50">XUSBPSU_ENDPOINT_XFER_CONTROL</a>, <a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>, <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>, and <a class="el" href="group__usbpsu__api.html#ga1a566eeb18fcd70e9cf6024f2cf8a35b">XUsbPsu_EpEnable()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga5d44b4cfe8de7ab1fa6b98710bd7836f">XUsbPsu_ConnDoneIntr()</a>.</p>

</div>
</div>
<a class="anchor" id="ga48e6e534c10a7a99be5606a0583c2129"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_EnableIntr </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables an interrupt in event enable RegValister. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance to be worked on. </td></tr>
    <tr><td class="paramname">Mask</td><td>OR of any interrupt enable Masks:<ul>
<li>XUSBPSU_DEVTEN_VNDRDEVTSTRCVEDEN</li>
<li>XUSBPSU_DEVTEN_EVNTOVERFLOWEN</li>
<li>XUSBPSU_DEVTEN_CMDCMPLTEN</li>
<li>XUSBPSU_DEVTEN_ERRTICERREN</li>
<li>XUSBPSU_DEVTEN_SOFEN</li>
<li>XUSBPSU_DEVTEN_EOPFEN</li>
<li>XUSBPSU_DEVTEN_HIBERNATIONREQEVTEN</li>
<li>XUSBPSU_DEVTEN_WKUPEVTEN</li>
<li>XUSBPSU_DEVTEN_ULSTCNGEN</li>
<li>XUSBPSU_DEVTEN_CONNECTDONEEN</li>
<li>XUSBPSU_DEVTEN_USBRSTEN</li>
<li>XUSBPSU_DEVTEN_DISCONNEVTEN</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="xusb__intr__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>, and <a class="el" href="xusb__wrapper_8h.html#af81f75ebda88cd593c5619754286e4ae">UsbEnableEvent()</a>.</p>

</div>
</div>
<a class="anchor" id="ga426259ea4430f2bccf744c55e88dcea9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_Ep0_EndControlData </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu___ep.html">XUsbPsu_Ep</a> *&#160;</td>
          <td class="paramname"><em>Ept</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Ends data phase which is used in case of the error. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Ept</td><td>Pointer to the Endpoint structure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu___ep.html#a30d0aae28aa3a1d4a9a352db55450df4">XUsbPsu_Ep::ResourceIndex</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, <a class="el" href="group__usbpsu__api.html#ga539653e2157529aeedf78d66aa135a7f">XUsbPsu_GetEpParams()</a>, <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>, and <a class="el" href="group__usbpsu__api.html#ga4aefce4e996fb276192ce25ece82d56a">XUsbPsu_Sleep()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gaa1b5bb2653180e74fb187989bd68ee5c">XUsbPsu_Ep0XferNotReady()</a>.</p>

</div>
</div>
<a class="anchor" id="gaee37aa4d612811db703893d777308e3e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_Ep0DataDone </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *&#160;</td>
          <td class="paramname"><em>Event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks the data phase and calls user endpoint handler. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Event</td><td>Pointer to the Endpoint event occurred in core.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a7d063081dccb62284227b99de12fd40a">XUsbPsu::AppData</a>, <a class="el" href="struct_x_usb_psu___ep.html#a540a84bf7626bc472f26617c0b329221">XUsbPsu_Ep::BufferPtr</a>, <a class="el" href="struct_x_usb_psu___ep.html#afe5ecb3fc2462b344e48f092f9ca3e5b">XUsbPsu_Ep::BytesTxed</a>, <a class="el" href="struct_x_usb_psu.html#afdb9b0ea8fd80a598a133cce1dd7c05f">XUsbPsu::ConfigPtr</a>, <a class="el" href="struct_x_usb_psu___event___epevt.html#ac84ccf04ba95b88597933245366eead6">XUsbPsu_Event_Epevt::Epnumber</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a84744372d1d940a83666e89f560c9a6a">XUsbPsu_Ep::Handler</a>, <a class="el" href="struct_x_usb_psu___config.html#a87b9ea25fdd7468b4cb5cb72ee5b494a">XUsbPsu_Config::IsCacheCoherent</a>, <a class="el" href="struct_x_usb_psu___ep.html#ab44e7e5e239c2bd81d9cc9c9cde65884">XUsbPsu_Ep::RequestedBytes</a>, <a class="el" href="struct_x_usb_psu___trb.html#a220253ea99ff109beb8676a46a49d27c">XUsbPsu_Trb::Size</a>, <a class="el" href="xusbpsu_8h.html#a49b4750a0007cdf47d99b02c39d4ee3f">Status</a>, <a class="el" href="struct_x_usb_psu___ep.html#af55a1749af3f0e93a11a43722aacaf40">XUsbPsu_Ep::UnalignedTx</a>, <a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>, and <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga12ed169a9dd7d4138c1b2b6e32078f73">XUsbPsu_Ep0XferComplete()</a>.</p>

</div>
</div>
<a class="anchor" id="gadca8d4453c83b175a06a5e7252048110"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_Ep0Intr </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *&#160;</td>
          <td class="paramname"><em>Event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Handle interrupts of control endpoints EP0 OUT and EP0 IN. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Event</td><td>Pointer to the Endpoint event occurred in core.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___event___epevt.html#a598915976370de3dd772ebb2f441400d">XUsbPsu_Event_Epevt::Endpoint_Event</a>, <a class="el" href="group__usbpsu__api.html#ga12ed169a9dd7d4138c1b2b6e32078f73">XUsbPsu_Ep0XferComplete()</a>, and <a class="el" href="group__usbpsu__api.html#gaa1b5bb2653180e74fb187989bd68ee5c">XUsbPsu_Ep0XferNotReady()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gac357a27a8c52267042cd2bc937a92331">XUsbPsu_EpEvent()</a>.</p>

</div>
</div>
<a class="anchor" id="gacaefa0abe2036b61d3341ee9232ffb17"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_Ep0Recv </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>BufferPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initiates DMA to receive data on control endpoint EP0 OUT from host. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">BufferPtr</td><td>Pointer to data. </td></tr>
    <tr><td class="paramname">Length</td><td>Length of data to be received.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___ep.html#a540a84bf7626bc472f26617c0b329221">XUsbPsu_Ep::BufferPtr</a>, <a class="el" href="struct_x_usb_psu___trb.html#a545d775d43d34a707369903eb368b9ab">XUsbPsu_Trb::BufferPtrHigh</a>, <a class="el" href="struct_x_usb_psu___trb.html#ae5ea152e5ef5e898965e50acf74dc519">XUsbPsu_Trb::BufferPtrLow</a>, <a class="el" href="struct_x_usb_psu___ep.html#afe5ecb3fc2462b344e48f092f9ca3e5b">XUsbPsu_Ep::BytesTxed</a>, <a class="el" href="struct_x_usb_psu.html#afdb9b0ea8fd80a598a133cce1dd7c05f">XUsbPsu::ConfigPtr</a>, <a class="el" href="struct_x_usb_psu___trb.html#a33543ca16a939ea769633dac14708785">XUsbPsu_Trb::Ctrl</a>, <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu.html#a3feb0ce5e323beddab4bd2ed7f05cb7d">XUsbPsu::Ep0State</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___config.html#a87b9ea25fdd7468b4cb5cb72ee5b494a">XUsbPsu_Config::IsCacheCoherent</a>, <a class="el" href="struct_x_usb_psu___ep.html#a5dbce92f4a2dd991649ae99e90c08cb4">XUsbPsu_Ep::MaxSize</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a025a749009e1eab7b46f6ed9e7fe069d">XUsbPsu_EpParams::Param0</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a02fb87ba6563c49d0e60ee13644434d7">XUsbPsu_EpParams::Param1</a>, <a class="el" href="struct_x_usb_psu___ep.html#ab44e7e5e239c2bd81d9cc9c9cde65884">XUsbPsu_Ep::RequestedBytes</a>, <a class="el" href="struct_x_usb_psu___ep.html#a30d0aae28aa3a1d4a9a352db55450df4">XUsbPsu_Ep::ResourceIndex</a>, <a class="el" href="struct_x_usb_psu___trb.html#a220253ea99ff109beb8676a46a49d27c">XUsbPsu_Trb::Size</a>, <a class="el" href="xusbpsu_8h.html#a2c05396cc1ebfdd0c6122cb226444a2b">Size</a>, <a class="el" href="struct_x_usb_psu___ep.html#af55a1749af3f0e93a11a43722aacaf40">XUsbPsu_Ep::UnalignedTx</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>, <a class="el" href="group__usbpsu__api.html#ga28df688a0136bd0efa5cc25ea3272610">XUsbPsu_EpGetTransferIndex()</a>, <a class="el" href="group__usbpsu__api.html#ga539653e2157529aeedf78d66aa135a7f">XUsbPsu_GetEpParams()</a>, and <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gad0102ce2327d084245189584307ecdfe">XUsbPsu_EpBufferRecv()</a>.</p>

</div>
</div>
<a class="anchor" id="ga057ab0e4a9511055a42e60b92550660d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_Ep0Send </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>BufferPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>BufferLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initiates DMA to send data on control endpoint EP0 IN to host. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">BufferPtr</td><td>Pointer to data. </td></tr>
    <tr><td class="paramname">BufferLen</td><td>Length of data buffer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___ep.html#a540a84bf7626bc472f26617c0b329221">XUsbPsu_Ep::BufferPtr</a>, <a class="el" href="struct_x_usb_psu___trb.html#a545d775d43d34a707369903eb368b9ab">XUsbPsu_Trb::BufferPtrHigh</a>, <a class="el" href="struct_x_usb_psu___trb.html#ae5ea152e5ef5e898965e50acf74dc519">XUsbPsu_Trb::BufferPtrLow</a>, <a class="el" href="struct_x_usb_psu___ep.html#afe5ecb3fc2462b344e48f092f9ca3e5b">XUsbPsu_Ep::BytesTxed</a>, <a class="el" href="struct_x_usb_psu.html#afdb9b0ea8fd80a598a133cce1dd7c05f">XUsbPsu::ConfigPtr</a>, <a class="el" href="struct_x_usb_psu___trb.html#a33543ca16a939ea769633dac14708785">XUsbPsu_Trb::Ctrl</a>, <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu.html#a3feb0ce5e323beddab4bd2ed7f05cb7d">XUsbPsu::Ep0State</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___config.html#a87b9ea25fdd7468b4cb5cb72ee5b494a">XUsbPsu_Config::IsCacheCoherent</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a025a749009e1eab7b46f6ed9e7fe069d">XUsbPsu_EpParams::Param0</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a02fb87ba6563c49d0e60ee13644434d7">XUsbPsu_EpParams::Param1</a>, <a class="el" href="struct_x_usb_psu___ep.html#ab44e7e5e239c2bd81d9cc9c9cde65884">XUsbPsu_Ep::RequestedBytes</a>, <a class="el" href="struct_x_usb_psu___ep.html#a30d0aae28aa3a1d4a9a352db55450df4">XUsbPsu_Ep::ResourceIndex</a>, <a class="el" href="struct_x_usb_psu___trb.html#a220253ea99ff109beb8676a46a49d27c">XUsbPsu_Trb::Size</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, <a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>, <a class="el" href="group__usbpsu__api.html#ga28df688a0136bd0efa5cc25ea3272610">XUsbPsu_EpGetTransferIndex()</a>, <a class="el" href="group__usbpsu__api.html#ga539653e2157529aeedf78d66aa135a7f">XUsbPsu_GetEpParams()</a>, and <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga9a977327906f2995960e50d429703687">XUsbPsu_EpBufferSend()</a>.</p>

</div>
</div>
<a class="anchor" id="ga78d9a929bbb9036e7eb4ba85b176df0d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_Ep0StallRestart </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stalls control endpoint and restarts to receive setup packet. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a3feb0ce5e323beddab4bd2ed7f05cb7d">XUsbPsu::Ep0State</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>, <a class="el" href="group__usbpsu__api.html#ga07f17ab6f8a9e4881fab867ff7e4ecaa">XUsbPsu_EpSetStall()</a>, and <a class="el" href="group__usbpsu__api.html#ga1cbbfbb1658f7fe29ec7f1b24ba87eeb">XUsbPsu_RecvSetup()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga5fbc6f2e5e21efc273d5d44a4bdf21d1">XUsbPsu_Ep0StatusDone()</a>, and <a class="el" href="group__usbpsu__api.html#gaa1b5bb2653180e74fb187989bd68ee5c">XUsbPsu_Ep0XferNotReady()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8dcb3237803d60fc90cea8270b6fe1a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_Ep0StartStatus </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *&#160;</td>
          <td class="paramname"><em>Event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts status phase of control transfer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Event</td><td>Pointer to the Endpoint event occurred in core.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___trb.html#a545d775d43d34a707369903eb368b9ab">XUsbPsu_Trb::BufferPtrHigh</a>, <a class="el" href="struct_x_usb_psu___trb.html#ae5ea152e5ef5e898965e50acf74dc519">XUsbPsu_Trb::BufferPtrLow</a>, <a class="el" href="struct_x_usb_psu.html#afdb9b0ea8fd80a598a133cce1dd7c05f">XUsbPsu::ConfigPtr</a>, <a class="el" href="struct_x_usb_psu.html#a901a6ff790827750bf380fbd3187c71e">XUsbPsu::ControlDir</a>, <a class="el" href="struct_x_usb_psu___trb.html#a33543ca16a939ea769633dac14708785">XUsbPsu_Trb::Ctrl</a>, <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu.html#a3feb0ce5e323beddab4bd2ed7f05cb7d">XUsbPsu::Ep0State</a>, <a class="el" href="struct_x_usb_psu___event___epevt.html#ac84ccf04ba95b88597933245366eead6">XUsbPsu_Event_Epevt::Epnumber</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___config.html#a87b9ea25fdd7468b4cb5cb72ee5b494a">XUsbPsu_Config::IsCacheCoherent</a>, <a class="el" href="struct_x_usb_psu.html#ab4420cef27d39897c9cd53ef04f3db50">XUsbPsu::IsThreeStage</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a025a749009e1eab7b46f6ed9e7fe069d">XUsbPsu_EpParams::Param0</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a02fb87ba6563c49d0e60ee13644434d7">XUsbPsu_EpParams::Param1</a>, <a class="el" href="struct_x_usb_psu___ep.html#a30d0aae28aa3a1d4a9a352db55450df4">XUsbPsu_Ep::ResourceIndex</a>, <a class="el" href="struct_x_usb_psu___trb.html#a220253ea99ff109beb8676a46a49d27c">XUsbPsu_Trb::Size</a>, <a class="el" href="xusbpsu_8h.html#a87b4a0cb9f280142ee92fbed38656b61">Type</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, <a class="el" href="group__usbpsu__api.html#ga28df688a0136bd0efa5cc25ea3272610">XUsbPsu_EpGetTransferIndex()</a>, <a class="el" href="group__usbpsu__api.html#ga539653e2157529aeedf78d66aa135a7f">XUsbPsu_GetEpParams()</a>, and <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gaa1b5bb2653180e74fb187989bd68ee5c">XUsbPsu_Ep0XferNotReady()</a>.</p>

</div>
</div>
<a class="anchor" id="ga5fbc6f2e5e21efc273d5d44a4bdf21d1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_Ep0StatusDone </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks the status phase and starts next control transfer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#afdb9b0ea8fd80a598a133cce1dd7c05f">XUsbPsu::ConfigPtr</a>, <a class="el" href="struct_x_usb_psu___config.html#a87b9ea25fdd7468b4cb5cb72ee5b494a">XUsbPsu_Config::IsCacheCoherent</a>, <a class="el" href="struct_x_usb_psu.html#a331eaae0d8c8cfd0782f960138422358">XUsbPsu::IsInTestMode</a>, <a class="el" href="struct_x_usb_psu.html#a71a0cd96ef36f74fd8a258959195cfdb">XUsbPsu::TestMode</a>, <a class="el" href="group__usbpsu__api.html#ga78d9a929bbb9036e7eb4ba85b176df0d">XUsbPsu_Ep0StallRestart()</a>, <a class="el" href="group__usbpsu__api.html#ga1cbbfbb1658f7fe29ec7f1b24ba87eeb">XUsbPsu_RecvSetup()</a>, and <a class="el" href="group__usbpsu__api.html#gab04d50803db3b336711a63dfd88de5a1">XUsbPsu_SetTestMode()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga12ed169a9dd7d4138c1b2b6e32078f73">XUsbPsu_Ep0XferComplete()</a>.</p>

</div>
</div>
<a class="anchor" id="ga12ed169a9dd7d4138c1b2b6e32078f73"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_Ep0XferComplete </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *&#160;</td>
          <td class="paramname"><em>Event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Handles transfer complete event of control endpoints EP0 OUT and EP0 IN. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Event</td><td>Pointer to the Endpoint event occurred in core.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a7d063081dccb62284227b99de12fd40a">XUsbPsu::AppData</a>, <a class="el" href="struct_x_usb_psu.html#a87ae2aeb78698021bb0bdb913072ddd8">XUsbPsu::Chapter9</a>, <a class="el" href="struct_x_usb_psu.html#afdb9b0ea8fd80a598a133cce1dd7c05f">XUsbPsu::ConfigPtr</a>, <a class="el" href="struct_x_usb_psu.html#a901a6ff790827750bf380fbd3187c71e">XUsbPsu::ControlDir</a>, <a class="el" href="xusbpsu_8h.html#afa0292a56da800bf5f863178ee72aeaf">Ctrl</a>, <a class="el" href="struct_x_usb_psu.html#a3feb0ce5e323beddab4bd2ed7f05cb7d">XUsbPsu::Ep0State</a>, <a class="el" href="struct_x_usb_psu___event___epevt.html#ac84ccf04ba95b88597933245366eead6">XUsbPsu_Event_Epevt::Epnumber</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___config.html#a87b9ea25fdd7468b4cb5cb72ee5b494a">XUsbPsu_Config::IsCacheCoherent</a>, <a class="el" href="struct_x_usb_psu.html#ab4420cef27d39897c9cd53ef04f3db50">XUsbPsu::IsThreeStage</a>, <a class="el" href="struct_x_usb_psu___ep.html#a30d0aae28aa3a1d4a9a352db55450df4">XUsbPsu_Ep::ResourceIndex</a>, <a class="el" href="group__usbpsu__api.html#gaee37aa4d612811db703893d777308e3e">XUsbPsu_Ep0DataDone()</a>, <a class="el" href="group__usbpsu__api.html#ga5fbc6f2e5e21efc273d5d44a4bdf21d1">XUsbPsu_Ep0StatusDone()</a>, <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>, and <a class="el" href="group__usbpsu__api.html#gaa8dc3536c5415d69176f27d3e51f9639">XUSBPSU_USB_DIR_IN</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gadca8d4453c83b175a06a5e7252048110">XUsbPsu_Ep0Intr()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa1b5bb2653180e74fb187989bd68ee5c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_Ep0XferNotReady </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *&#160;</td>
          <td class="paramname"><em>Event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Handles transfer not ready event of control endpoints EP0 OUT and EP0 IN. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Event</td><td>Pointer to the Endpoint event occurred in core.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a901a6ff790827750bf380fbd3187c71e">XUsbPsu::ControlDir</a>, <a class="el" href="struct_x_usb_psu___event___epevt.html#ac84ccf04ba95b88597933245366eead6">XUsbPsu_Event_Epevt::Epnumber</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___event___epevt.html#a18ceb3ffee55e3a05c1af5cf1933ded2">XUsbPsu_Event_Epevt::Status</a>, <a class="el" href="group__usbpsu__api.html#ga426259ea4430f2bccf744c55e88dcea9">XUsbPsu_Ep0_EndControlData()</a>, <a class="el" href="group__usbpsu__api.html#ga78d9a929bbb9036e7eb4ba85b176df0d">XUsbPsu_Ep0StallRestart()</a>, and <a class="el" href="group__usbpsu__api.html#ga8dcb3237803d60fc90cea8270b6fe1a0">XUsbPsu_Ep0StartStatus()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gadca8d4453c83b175a06a5e7252048110">XUsbPsu_Ep0Intr()</a>.</p>

</div>
</div>
<a class="anchor" id="gad0102ce2327d084245189584307ecdfe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_EpBufferRecv </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>UsbEp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>BufferPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initiates DMA to receive data on endpoint from host. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">UsbEp</td><td>USB endpoint number. </td></tr>
    <tr><td class="paramname">BufferPtr</td><td>Pointer to data. This data buffer is cache-aligned. </td></tr>
    <tr><td class="paramname">Length</td><td>Length of data to be received.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This function is expected to initiates DMA to receive data on the endpoint from the host. This data buffer should be aligned. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___ep.html#a540a84bf7626bc472f26617c0b329221">XUsbPsu_Ep::BufferPtr</a>, <a class="el" href="struct_x_usb_psu___trb.html#a545d775d43d34a707369903eb368b9ab">XUsbPsu_Trb::BufferPtrHigh</a>, <a class="el" href="struct_x_usb_psu___trb.html#ae5ea152e5ef5e898965e50acf74dc519">XUsbPsu_Trb::BufferPtrLow</a>, <a class="el" href="struct_x_usb_psu___ep.html#afe5ecb3fc2462b344e48f092f9ca3e5b">XUsbPsu_Ep::BytesTxed</a>, <a class="el" href="struct_x_usb_psu.html#afdb9b0ea8fd80a598a133cce1dd7c05f">XUsbPsu::ConfigPtr</a>, <a class="el" href="struct_x_usb_psu___trb.html#a33543ca16a939ea769633dac14708785">XUsbPsu_Trb::Ctrl</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9cccdeed84d1af2bbc01731f62c170c7">XUsbPsu_Ep::CurUf</a>, <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___config.html#a87b9ea25fdd7468b4cb5cb72ee5b494a">XUsbPsu_Config::IsCacheCoherent</a>, <a class="el" href="struct_x_usb_psu___ep.html#a5dbce92f4a2dd991649ae99e90c08cb4">XUsbPsu_Ep::MaxSize</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a025a749009e1eab7b46f6ed9e7fe069d">XUsbPsu_EpParams::Param0</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a02fb87ba6563c49d0e60ee13644434d7">XUsbPsu_EpParams::Param1</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a5afaf76f43bce0d77169ea212bff0d81">XUsbPsu_EpParams::Param2</a>, <a class="el" href="struct_x_usb_psu___ep.html#ab44e7e5e239c2bd81d9cc9c9cde65884">XUsbPsu_Ep::RequestedBytes</a>, <a class="el" href="struct_x_usb_psu___ep.html#a30d0aae28aa3a1d4a9a352db55450df4">XUsbPsu_Ep::ResourceIndex</a>, <a class="el" href="struct_x_usb_psu___trb.html#a220253ea99ff109beb8676a46a49d27c">XUsbPsu_Trb::Size</a>, <a class="el" href="xusbpsu_8h.html#a2c05396cc1ebfdd0c6122cb226444a2b">Size</a>, <a class="el" href="struct_x_usb_psu___ep.html#ad415bc7aa820cdf38ffd6228b89859f0">XUsbPsu_Ep::TrbEnqueue</a>, <a class="el" href="struct_x_usb_psu___ep.html#acdc2fe13449f0c73020d316a3bb9736d">XUsbPsu_Ep::Type</a>, <a class="el" href="struct_x_usb_psu___ep.html#af55a1749af3f0e93a11a43722aacaf40">XUsbPsu_Ep::UnalignedTx</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, <a class="el" href="group__usbpsu__api.html#gaab7f31fa2f463d3ebd2e0635402741f1">XUSBPSU_ENDPOINT_XFER_BULK</a>, <a class="el" href="group__usbpsu__api.html#gae18c69e1589fab7cf7bf0202ad9fd870">XUSBPSU_ENDPOINT_XFER_INT</a>, <a class="el" href="group__usbpsu__api.html#ga428b7d5150df403d2011a466379d4860">XUSBPSU_ENDPOINT_XFER_ISOC</a>, <a class="el" href="group__usbpsu__api.html#gacaefa0abe2036b61d3341ee9232ffb17">XUsbPsu_Ep0Recv()</a>, <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>, <a class="el" href="group__usbpsu__api.html#ga28df688a0136bd0efa5cc25ea3272610">XUsbPsu_EpGetTransferIndex()</a>, and <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>.</p>

</div>
</div>
<a class="anchor" id="ga9a977327906f2995960e50d429703687"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_EpBufferSend </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>UsbEp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>BufferPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>BufferLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initiates DMA to send data on endpoint to the host. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">UsbEp</td><td>USB endpoint number. </td></tr>
    <tr><td class="paramname">BufferPtr</td><td>Pointer to data. This data buffer is cache-aligned. </td></tr>
    <tr><td class="paramname">BufferLen</td><td>Length of data buffer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This function is expected to initiates DMA to send data on endpoint towards host. This data buffer should be aligned. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___ep.html#a540a84bf7626bc472f26617c0b329221">XUsbPsu_Ep::BufferPtr</a>, <a class="el" href="struct_x_usb_psu___trb.html#a545d775d43d34a707369903eb368b9ab">XUsbPsu_Trb::BufferPtrHigh</a>, <a class="el" href="struct_x_usb_psu___trb.html#ae5ea152e5ef5e898965e50acf74dc519">XUsbPsu_Trb::BufferPtrLow</a>, <a class="el" href="struct_x_usb_psu___ep.html#afe5ecb3fc2462b344e48f092f9ca3e5b">XUsbPsu_Ep::BytesTxed</a>, <a class="el" href="struct_x_usb_psu.html#afdb9b0ea8fd80a598a133cce1dd7c05f">XUsbPsu::ConfigPtr</a>, <a class="el" href="struct_x_usb_psu___trb.html#a33543ca16a939ea769633dac14708785">XUsbPsu_Trb::Ctrl</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9cccdeed84d1af2bbc01731f62c170c7">XUsbPsu_Ep::CurUf</a>, <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___config.html#a87b9ea25fdd7468b4cb5cb72ee5b494a">XUsbPsu_Config::IsCacheCoherent</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a025a749009e1eab7b46f6ed9e7fe069d">XUsbPsu_EpParams::Param0</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a02fb87ba6563c49d0e60ee13644434d7">XUsbPsu_EpParams::Param1</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a5afaf76f43bce0d77169ea212bff0d81">XUsbPsu_EpParams::Param2</a>, <a class="el" href="struct_x_usb_psu___ep.html#ac848e7b64a1137b6922a32dfebe62ab5">XUsbPsu_Ep::PhyEpNum</a>, <a class="el" href="struct_x_usb_psu___ep.html#ab44e7e5e239c2bd81d9cc9c9cde65884">XUsbPsu_Ep::RequestedBytes</a>, <a class="el" href="struct_x_usb_psu___ep.html#a30d0aae28aa3a1d4a9a352db55450df4">XUsbPsu_Ep::ResourceIndex</a>, <a class="el" href="struct_x_usb_psu___trb.html#a220253ea99ff109beb8676a46a49d27c">XUsbPsu_Trb::Size</a>, <a class="el" href="struct_x_usb_psu___ep.html#ad415bc7aa820cdf38ffd6228b89859f0">XUsbPsu_Ep::TrbEnqueue</a>, <a class="el" href="struct_x_usb_psu___ep.html#acdc2fe13449f0c73020d316a3bb9736d">XUsbPsu_Ep::Type</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, <a class="el" href="group__usbpsu__api.html#gaab7f31fa2f463d3ebd2e0635402741f1">XUSBPSU_ENDPOINT_XFER_BULK</a>, <a class="el" href="group__usbpsu__api.html#gae18c69e1589fab7cf7bf0202ad9fd870">XUSBPSU_ENDPOINT_XFER_INT</a>, <a class="el" href="group__usbpsu__api.html#ga428b7d5150df403d2011a466379d4860">XUSBPSU_ENDPOINT_XFER_ISOC</a>, <a class="el" href="group__usbpsu__api.html#ga057ab0e4a9511055a42e60b92550660d">XUsbPsu_Ep0Send()</a>, <a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>, <a class="el" href="group__usbpsu__api.html#ga28df688a0136bd0efa5cc25ea3272610">XUsbPsu_EpGetTransferIndex()</a>, and <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>.</p>

</div>
</div>
<a class="anchor" id="gaeff04b67a7a4a8c63da2327c6ae5e81b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_EpClearStall </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Epnum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears stall on an endpoint. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Epnum</td><td>USB endpoint number. </td></tr>
    <tr><td class="paramname">Dir</td><td>Direction.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, <a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>, <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>, <a class="el" href="group__usbpsu__api.html#ga539653e2157529aeedf78d66aa135a7f">XUsbPsu_GetEpParams()</a>, and <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga16d89863a86fe201e813e39f08edaaf9">XUsbPsu_ClearStallAllEp()</a>, and <a class="el" href="group__usbpsu__api.html#gab3a191b5b5a02738beffd951ce4883d8">XUsbPsu_EpDisable()</a>.</p>

</div>
</div>
<a class="anchor" id="gab3a191b5b5a02738beffd951ce4883d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_EpDisable </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>UsbEpNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disables Endpoint. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">UsbEpNum</td><td>USB endpoint number. </td></tr>
    <tr><td class="paramname">Dir</td><td>Direction of endpoint<ul>
<li>XUSBPSU_EP_DIR_IN/XUSBPSU_EP_DIR_OUT.</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___ep.html#a5dbce92f4a2dd991649ae99e90c08cb4">XUsbPsu_Ep::MaxSize</a>, <a class="el" href="struct_x_usb_psu___ep.html#ac848e7b64a1137b6922a32dfebe62ab5">XUsbPsu_Ep::PhyEpNum</a>, <a class="el" href="struct_x_usb_psu___ep.html#ab2b555a0d98c872b10d400823af928b2">XUsbPsu_Ep::TrbDequeue</a>, <a class="el" href="struct_x_usb_psu___ep.html#ad415bc7aa820cdf38ffd6228b89859f0">XUsbPsu_Ep::TrbEnqueue</a>, <a class="el" href="struct_x_usb_psu___ep.html#acdc2fe13449f0c73020d316a3bb9736d">XUsbPsu_Ep::Type</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, <a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>, <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>, and <a class="el" href="group__usbpsu__api.html#gaeff04b67a7a4a8c63da2327c6ae5e81b">XUsbPsu_EpClearStall()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1a566eeb18fcd70e9cf6024f2cf8a35b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_EpEnable </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>UsbEpNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Maxsize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Restore</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables endpoint for sending/receiving data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">UsbEpNum</td><td>USB endpoint number. </td></tr>
    <tr><td class="paramname">Dir</td><td>Direction of endpoint<ul>
<li>XUSBPSU_EP_DIR_IN/XUSBPSU_EP_DIR_OUT. </li>
</ul>
</td></tr>
    <tr><td class="paramname">Maxsize</td><td>Size of Endpoint size. </td></tr>
    <tr><td class="paramname">Type</td><td>Endpoint type Control/Bulk/Interrupt/Isoc. </td></tr>
    <tr><td class="paramname">Restore</td><td>Typically False, True if saved state has to be restored.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___trb.html#a545d775d43d34a707369903eb368b9ab">XUsbPsu_Trb::BufferPtrHigh</a>, <a class="el" href="struct_x_usb_psu___trb.html#ae5ea152e5ef5e898965e50acf74dc519">XUsbPsu_Trb::BufferPtrLow</a>, <a class="el" href="struct_x_usb_psu.html#afdb9b0ea8fd80a598a133cce1dd7c05f">XUsbPsu::ConfigPtr</a>, <a class="el" href="struct_x_usb_psu___trb.html#a33543ca16a939ea769633dac14708785">XUsbPsu_Trb::Ctrl</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9cccdeed84d1af2bbc01731f62c170c7">XUsbPsu_Ep::CurUf</a>, <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___config.html#a87b9ea25fdd7468b4cb5cb72ee5b494a">XUsbPsu_Config::IsCacheCoherent</a>, <a class="el" href="struct_x_usb_psu.html#a9f122f4dc17866427f6353722dfefb0e">XUsbPsu::IsHibernated</a>, <a class="el" href="struct_x_usb_psu___ep.html#a5dbce92f4a2dd991649ae99e90c08cb4">XUsbPsu_Ep::MaxSize</a>, <a class="el" href="struct_x_usb_psu___ep.html#ac848e7b64a1137b6922a32dfebe62ab5">XUsbPsu_Ep::PhyEpNum</a>, <a class="el" href="struct_x_usb_psu___ep.html#ab2b555a0d98c872b10d400823af928b2">XUsbPsu_Ep::TrbDequeue</a>, <a class="el" href="struct_x_usb_psu___ep.html#ad415bc7aa820cdf38ffd6228b89859f0">XUsbPsu_Ep::TrbEnqueue</a>, <a class="el" href="struct_x_usb_psu___ep.html#acdc2fe13449f0c73020d316a3bb9736d">XUsbPsu_Ep::Type</a>, <a class="el" href="xusbpsu_8h.html#a87b4a0cb9f280142ee92fbed38656b61">Type</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, <a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>, <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>, <a class="el" href="group__usbpsu__api.html#ga41fcbddbefdf6f9534c188255a0d61c1">XUsbPsu_SetEpConfig()</a>, <a class="el" href="group__usbpsu__api.html#ga17a07022989463d93396219c70975c2f">XUsbPsu_SetXferResource()</a>, and <a class="el" href="group__usbpsu__api.html#gadda2d8102910024fbfa5bc7a471bea86">XUsbPsu_StartEpConfig()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga00919567ace4342c864e3c29cf69e58d">XUsbPsu_EnableControlEp()</a>.</p>

</div>
</div>
<a class="anchor" id="gac357a27a8c52267042cd2bc937a92331"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_EpEvent </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *&#160;</td>
          <td class="paramname"><em>Event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Endpoint event handler. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Event</td><td>Endpoint Event occurred in the core.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___event___epevt.html#a598915976370de3dd772ebb2f441400d">XUsbPsu_Event_Epevt::Endpoint_Event</a>, <a class="el" href="struct_x_usb_psu___event___epevt.html#ac84ccf04ba95b88597933245366eead6">XUsbPsu_Event_Epevt::Epnumber</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="group__usbpsu__api.html#gadca8d4453c83b175a06a5e7252048110">XUsbPsu_Ep0Intr()</a>, <a class="el" href="group__usbpsu__api.html#ga5fdd7c08c30d46a9c3024ebe404d877e">XUsbPsu_EpXferComplete()</a>, and <a class="el" href="group__usbpsu__api.html#ga2d7229b7b3d937ed82f79c3ec35e97f8">XUsbPsu_EpXferNotReady()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gae4f3c8a44c949edec84f94fc3346e77b">XUsbPsu_EventHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga28df688a0136bd0efa5cc25ea3272610"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XUsbPsu_EpGetTransferIndex </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>UsbEpNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns transfer index assigned by Core for an endpoint transfer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">UsbEpNum</td><td>USB endpoint number. </td></tr>
    <tr><td class="paramname">Dir</td><td>Direction of endpoint<ul>
<li>XUSBPSU_EP_DIR_IN/XUSBPSU_EP_DIR_OUT</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Transfer Resource Index. </dd></dl>

<p>References <a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>, and <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gacaefa0abe2036b61d3341ee9232ffb17">XUsbPsu_Ep0Recv()</a>, <a class="el" href="group__usbpsu__api.html#ga057ab0e4a9511055a42e60b92550660d">XUsbPsu_Ep0Send()</a>, <a class="el" href="group__usbpsu__api.html#ga8dcb3237803d60fc90cea8270b6fe1a0">XUsbPsu_Ep0StartStatus()</a>, <a class="el" href="group__usbpsu__api.html#gad0102ce2327d084245189584307ecdfe">XUsbPsu_EpBufferRecv()</a>, <a class="el" href="group__usbpsu__api.html#ga9a977327906f2995960e50d429703687">XUsbPsu_EpBufferSend()</a>, and <a class="el" href="group__usbpsu__api.html#ga1cbbfbb1658f7fe29ec7f1b24ba87eeb">XUsbPsu_RecvSetup()</a>.</p>

</div>
</div>
<a class="anchor" id="ga07f17ab6f8a9e4881fab867ff7e4ecaa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_EpSetStall </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Epnum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stalls an endpoint. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Epnum</td><td>USB endpoint number. </td></tr>
    <tr><td class="paramname">Dir</td><td>Direction</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, <a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>, <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>, <a class="el" href="group__usbpsu__api.html#ga539653e2157529aeedf78d66aa135a7f">XUsbPsu_GetEpParams()</a>, and <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga78d9a929bbb9036e7eb4ba85b176df0d">XUsbPsu_Ep0StallRestart()</a>.</p>

</div>
</div>
<a class="anchor" id="gacdbae228fd638ec5e1598c4528a135cf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_EpTransferDeactive </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>UsbEpNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resets and deactivates transfer endpoint. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">UsbEpNum</td><td>USB endpoint number. </td></tr>
    <tr><td class="paramname">Dir</td><td>Direction of endpoint<ul>
<li>XUSBPSU_EP_DIR_IN/XUSBPSU_EP_DIR_OUT.</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___ep.html#a5dbce92f4a2dd991649ae99e90c08cb4">XUsbPsu_Ep::MaxSize</a>, <a class="el" href="struct_x_usb_psu___ep.html#ac848e7b64a1137b6922a32dfebe62ab5">XUsbPsu_Ep::PhyEpNum</a>, <a class="el" href="struct_x_usb_psu___ep.html#ab2b555a0d98c872b10d400823af928b2">XUsbPsu_Ep::TrbDequeue</a>, <a class="el" href="struct_x_usb_psu___ep.html#ad415bc7aa820cdf38ffd6228b89859f0">XUsbPsu_Ep::TrbEnqueue</a>, <a class="el" href="struct_x_usb_psu___ep.html#acdc2fe13449f0c73020d316a3bb9736d">XUsbPsu_Ep::Type</a>, <a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>, and <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gad13cbcf5858fa37dcba606bed25ed338">XUsbPsu_Idle()</a>.</p>

</div>
</div>
<a class="anchor" id="ga5fdd7c08c30d46a9c3024ebe404d877e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_EpXferComplete </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *&#160;</td>
          <td class="paramname"><em>Event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks the data phase and calls user endpoint handler. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Event</td><td>Pointer to the endpoint event occurred in core.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a7d063081dccb62284227b99de12fd40a">XUsbPsu::AppData</a>, <a class="el" href="struct_x_usb_psu___ep.html#a540a84bf7626bc472f26617c0b329221">XUsbPsu_Ep::BufferPtr</a>, <a class="el" href="struct_x_usb_psu___ep.html#afe5ecb3fc2462b344e48f092f9ca3e5b">XUsbPsu_Ep::BytesTxed</a>, <a class="el" href="struct_x_usb_psu.html#afdb9b0ea8fd80a598a133cce1dd7c05f">XUsbPsu::ConfigPtr</a>, <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu___event___epevt.html#a598915976370de3dd772ebb2f441400d">XUsbPsu_Event_Epevt::Endpoint_Event</a>, <a class="el" href="struct_x_usb_psu___event___epevt.html#ac84ccf04ba95b88597933245366eead6">XUsbPsu_Event_Epevt::Epnumber</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___ep.html#a84744372d1d940a83666e89f560c9a6a">XUsbPsu_Ep::Handler</a>, <a class="el" href="struct_x_usb_psu___config.html#a87b9ea25fdd7468b4cb5cb72ee5b494a">XUsbPsu_Config::IsCacheCoherent</a>, <a class="el" href="struct_x_usb_psu___ep.html#a5dbce92f4a2dd991649ae99e90c08cb4">XUsbPsu_Ep::MaxSize</a>, <a class="el" href="struct_x_usb_psu___ep.html#ab44e7e5e239c2bd81d9cc9c9cde65884">XUsbPsu_Ep::RequestedBytes</a>, <a class="el" href="struct_x_usb_psu___ep.html#a30d0aae28aa3a1d4a9a352db55450df4">XUsbPsu_Ep::ResourceIndex</a>, <a class="el" href="struct_x_usb_psu___trb.html#a220253ea99ff109beb8676a46a49d27c">XUsbPsu_Trb::Size</a>, <a class="el" href="struct_x_usb_psu___ep.html#ab2b555a0d98c872b10d400823af928b2">XUsbPsu_Ep::TrbDequeue</a>, <a class="el" href="struct_x_usb_psu___ep.html#af55a1749af3f0e93a11a43722aacaf40">XUsbPsu_Ep::UnalignedTx</a>, <a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>, and <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gac357a27a8c52267042cd2bc937a92331">XUsbPsu_EpEvent()</a>.</p>

</div>
</div>
<a class="anchor" id="ga2d7229b7b3d937ed82f79c3ec35e97f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_EpXferNotReady </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *&#160;</td>
          <td class="paramname"><em>Event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For Isochronous transfer, gets the microframe time and calls respective endpoint handler. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Event</td><td>Pointer to the Endpoint event occurred in core.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a7d063081dccb62284227b99de12fd40a">XUsbPsu::AppData</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9cccdeed84d1af2bbc01731f62c170c7">XUsbPsu_Ep::CurUf</a>, <a class="el" href="struct_x_usb_psu___event___epevt.html#ac84ccf04ba95b88597933245366eead6">XUsbPsu_Event_Epevt::Epnumber</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a84744372d1d940a83666e89f560c9a6a">XUsbPsu_Ep::Handler</a>, <a class="el" href="struct_x_usb_psu___ep.html#a0f79403cf89a048aeedf9be9a9da8f4f">XUsbPsu_Ep::Interval</a>, <a class="el" href="struct_x_usb_psu___event___epevt.html#ab27628306bbd13422839942b6a426e2c">XUsbPsu_Event_Epevt::Parameters</a>, <a class="el" href="struct_x_usb_psu___ep.html#acdc2fe13449f0c73020d316a3bb9736d">XUsbPsu_Ep::Type</a>, and <a class="el" href="group__usbpsu__api.html#ga428b7d5150df403d2011a466379d4860">XUSBPSU_ENDPOINT_XFER_ISOC</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gac357a27a8c52267042cd2bc937a92331">XUsbPsu_EpEvent()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa95e2a0adf788cfa67722243e0c6e803"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_EventBufferHandler </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Processes events in an event buffer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___evt_buffer.html#a054fe3eb0cdfde62dee738647bd46cd3">XUsbPsu_EvtBuffer::BuffAddr</a>, <a class="el" href="struct_x_usb_psu.html#afdb9b0ea8fd80a598a133cce1dd7c05f">XUsbPsu::ConfigPtr</a>, <a class="el" href="struct_x_usb_psu___evt_buffer.html#a32f76341c5591067f8bf87c8d1e3bc86">XUsbPsu_EvtBuffer::Count</a>, <a class="el" href="struct_x_usb_psu.html#abed0f73af5cd1d46f7dd9b632ff952ab">XUsbPsu::Evt</a>, <a class="el" href="struct_x_usb_psu___evt_buffer.html#a00eecccee1e7f806361d8133b1ed0eb5">XUsbPsu_EvtBuffer::Flags</a>, <a class="el" href="struct_x_usb_psu___config.html#a87b9ea25fdd7468b4cb5cb72ee5b494a">XUsbPsu_Config::IsCacheCoherent</a>, <a class="el" href="struct_x_usb_psu.html#a9f122f4dc17866427f6353722dfefb0e">XUsbPsu::IsHibernated</a>, <a class="el" href="struct_x_usb_psu___evt_buffer.html#a472a238711aef2a1def50982a63dddea">XUsbPsu_EvtBuffer::Offset</a>, <a class="el" href="union_x_usb_psu___event.html#a592c8d05a931aa0dcba5c40c81897bed">XUsbPsu_Event::Raw</a>, and <a class="el" href="group__usbpsu__api.html#gae4f3c8a44c949edec84f94fc3346e77b">XUsbPsu_EventHandler()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga9b106790d1b007e134bda766af314a9a">XUsbPsu_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga2137782bf79ed3f9148defc507786a9c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_EventBuffersSetup </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets up the event buffers so that events are written by Core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___evt_buffer.html#a054fe3eb0cdfde62dee738647bd46cd3">XUsbPsu_EvtBuffer::BuffAddr</a>, <a class="el" href="struct_x_usb_psu.html#abed0f73af5cd1d46f7dd9b632ff952ab">XUsbPsu::Evt</a>, and <a class="el" href="struct_x_usb_psu___evt_buffer.html#a472a238711aef2a1def50982a63dddea">XUsbPsu_EvtBuffer::Offset</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga55228afff6b16b58790b91efb185eff5">XUsbPsu_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gae4f3c8a44c949edec84f94fc3346e77b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_EventHandler </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const union <a class="el" href="union_x_usb_psu___event.html">XUsbPsu_Event</a> *&#160;</td>
          <td class="paramname"><em>Event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Processes an event entry in the event Buffer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Event</td><td>Event entry.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="union_x_usb_psu___event.html#a74779f9dd7dfb748446938aeaab08819">XUsbPsu_Event::Devt</a>, <a class="el" href="union_x_usb_psu___event.html#a6cae79dab7c106d006ac1ed37bb0fa09">XUsbPsu_Event::Epevt</a>, <a class="el" href="struct_x_usb_psu___event___type.html#a515fbbdee2186ab41a87c5e4108f5335">XUsbPsu_Event_Type::Is_DevEvt</a>, <a class="el" href="struct_x_usb_psu___event___type.html#a65700405a0286bc9885266eaa5174969">XUsbPsu_Event_Type::Type</a>, <a class="el" href="union_x_usb_psu___event.html#a604a48e88a08d42f74073889a9100173">XUsbPsu_Event::Type</a>, <a class="el" href="group__usbpsu__api.html#gab9c5e8289701e82cf940fd2d0c239fd1">XUsbPsu_DeviceEvent()</a>, and <a class="el" href="group__usbpsu__api.html#gac357a27a8c52267042cd2bc937a92331">XUsbPsu_EpEvent()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gaa95e2a0adf788cfa67722243e0c6e803">XUsbPsu_EventBufferHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga539653e2157529aeedf78d66aa135a7f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="struct_x_usb_psu___ep_params.html">XUsbPsu_EpParams</a>* XUsbPsu_GetEpParams </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns zeroed parameters to be used by Endpoint commands. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Zeroed Params structure pointer. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#aed5d70302a79377b093aa8a7ab8c1ea4">XUsbPsu::EpParams</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a025a749009e1eab7b46f6ed9e7fe069d">XUsbPsu_EpParams::Param0</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a02fb87ba6563c49d0e60ee13644434d7">XUsbPsu_EpParams::Param1</a>, and <a class="el" href="struct_x_usb_psu___ep_params.html#a5afaf76f43bce0d77169ea212bff0d81">XUsbPsu_EpParams::Param2</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga1f081ab527bf9b7a15bd24ebea69138b">XUsbPsu_ClearStalls()</a>, <a class="el" href="group__usbpsu__api.html#ga426259ea4430f2bccf744c55e88dcea9">XUsbPsu_Ep0_EndControlData()</a>, <a class="el" href="group__usbpsu__api.html#gacaefa0abe2036b61d3341ee9232ffb17">XUsbPsu_Ep0Recv()</a>, <a class="el" href="group__usbpsu__api.html#ga057ab0e4a9511055a42e60b92550660d">XUsbPsu_Ep0Send()</a>, <a class="el" href="group__usbpsu__api.html#ga8dcb3237803d60fc90cea8270b6fe1a0">XUsbPsu_Ep0StartStatus()</a>, <a class="el" href="group__usbpsu__api.html#gaeff04b67a7a4a8c63da2327c6ae5e81b">XUsbPsu_EpClearStall()</a>, <a class="el" href="group__usbpsu__api.html#ga07f17ab6f8a9e4881fab867ff7e4ecaa">XUsbPsu_EpSetStall()</a>, <a class="el" href="group__usbpsu__api.html#ga1cbbfbb1658f7fe29ec7f1b24ba87eeb">XUsbPsu_RecvSetup()</a>, <a class="el" href="group__usbpsu__api.html#gac5e91b20aedeff92c9aa7eed229c5c03">XUsbPsu_SaveEndpointState()</a>, <a class="el" href="group__usbpsu__api.html#ga41fcbddbefdf6f9534c188255a0d61c1">XUsbPsu_SetEpConfig()</a>, <a class="el" href="group__usbpsu__api.html#ga17a07022989463d93396219c70975c2f">XUsbPsu_SetXferResource()</a>, <a class="el" href="group__usbpsu__api.html#gadda2d8102910024fbfa5bc7a471bea86">XUsbPsu_StartEpConfig()</a>, and <a class="el" href="group__usbpsu__api.html#ga0358f9d4714f7d4e19d429ccf8cc6b26">XUsbPsu_StopTransfer()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8eb71617c93d98325d328d7801bbb6bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XUsbPsu_GetLinkState </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets current state of USB link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Link State </dd></dl>

</div>
</div>
<a class="anchor" id="gad13cbcf5858fa37dcba606bed25ed338"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_Idle </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function puts the controller into idle state by stopping the transfers for all endpoints, stopping the usb core, and clearing the event buffers. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p>References <a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>, <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>, <a class="el" href="group__usbpsu__api.html#gacdbae228fd638ec5e1598c4528a135cf">XUsbPsu_EpTransferDeactive()</a>, <a class="el" href="group__usbpsu__api.html#ga320848a4722e7150a31427f5635bab56">XUsbPsu_ReadHwParams()</a>, <a class="el" href="group__usbpsu__api.html#ga7fa4e391a5107c357c314fa5e550e370">XUsbPsu_Stop()</a>, <a class="el" href="group__usbpsu__api.html#ga0358f9d4714f7d4e19d429ccf8cc6b26">XUsbPsu_StopTransfer()</a>, and <a class="el" href="group__usbpsu__api.html#ga2616d8b140915fc83ced2c316db3aa16">XUsbPsu_WaitClearTimeout()</a>.</p>

</div>
</div>
<a class="anchor" id="ga9b106790d1b007e134bda766af314a9a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_IntrHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>XUsbPsuInstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Main interrupt handler. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">XUsbPsuInstancePtr</td><td>Void pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___evt_buffer.html#a32f76341c5591067f8bf87c8d1e3bc86">XUsbPsu_EvtBuffer::Count</a>, <a class="el" href="struct_x_usb_psu.html#abed0f73af5cd1d46f7dd9b632ff952ab">XUsbPsu::Evt</a>, <a class="el" href="struct_x_usb_psu___evt_buffer.html#a00eecccee1e7f806361d8133b1ed0eb5">XUsbPsu_EvtBuffer::Flags</a>, and <a class="el" href="group__usbpsu__api.html#gaa95e2a0adf788cfa67722243e0c6e803">XUsbPsu_EventBufferHandler()</a>.</p>

<p>Referenced by <a class="el" href="xusb__intr__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>, and <a class="el" href="xusb__wrapper_8h.html#a1c387f7a6cc0e39d1adaaff2d1fd1f00">UsbPollHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga940e5d8d4c56eec4e394507eb0e1ab8b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_IsEpStalled </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Epnum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns status of endpoint whether it is stalled or not. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Epnum</td><td>USB endpoint number. </td></tr>
    <tr><td class="paramname">Dir</td><td>Direction of endpoint<ul>
<li>XUSBPSU_EP_DIR_IN/XUSBPSU_EP_DIR_OUT.</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>1 - if stalled 0 - if not stalled </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___ep.html#ac848e7b64a1137b6922a32dfebe62ab5">XUsbPsu_Ep::PhyEpNum</a>, <a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>, and <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>.</p>

</div>
</div>
<a class="anchor" id="ga7e0a64e9adf5e221b4bd8386ad38055e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_IsSuperSpeed </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks if the current speed is super speed or not. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a7d063081dccb62284227b99de12fd40a">XUsbPsu::AppData</a>, <a class="el" href="struct_usb___dev_data.html#ab54eee2cc1c6a5d178c976f187a2ea47">Usb_DevData::Speed</a>, and <a class="el" href="group__usbpsu__api.html#ga907197f8e0fa8febbc3c7794c877c147">XUSBPSU_SPEED_SUPER</a>.</p>

<p>Referenced by <a class="el" href="xusb__wrapper_8h.html#a02e8ef492f6fb18133f23f90205cc573">IsSuperSpeed()</a>.</p>

</div>
</div>
<a class="anchor" id="ga4cf4f7f831c9b7968d7ef0005ea64b50"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_LinkStsChangeIntr </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>EvtInfo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Link status change interrupt handler. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">EvtInfo</td><td>Event information.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a710de9231e8b9881cce866f535b342f8">XUsbPsu::LinkState</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gab9c5e8289701e82cf940fd2d0c239fd1">XUsbPsu_DeviceEvent()</a>.</p>

</div>
</div>
<a class="anchor" id="ga10b910700eb2400378dc0a013410ba26"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_usb_psu___config.html">XUsbPsu_Config</a> * XUsbPsu_LookupConfig </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Looks up the device configuration based on the unique device ID. </p>
<p>The table contains the configuration info for each device in the system.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>Unique device ID of the device being looked up.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the configuration table entry corresponding to the given device ID, or NULL if no match is found. </dd></dl>

<p>References <a class="el" href="group__usbpsu__api.html#ga846d0a038155f23633778e0bed4109ff">XUsbPsu_ConfigTable</a>.</p>

</div>
</div>
<a class="anchor" id="ga4c5f57fc85b14ae756481518c5318362"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_PhyReset </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Issues core PHY reset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p>References <a class="el" href="group__usbpsu__api.html#ga4aefce4e996fb276192ce25ece82d56a">XUsbPsu_Sleep()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga01495a656b7de39f6874390556643a1e">XUsbPsu_CoreInit()</a>.</p>

</div>
</div>
<a class="anchor" id="ga320848a4722e7150a31427f5635bab56"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XUsbPsu_ReadHwParams </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>RegIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reads data from hardware parameters registers of the core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance to be worked on </td></tr>
    <tr><td class="paramname">RegIndex</td><td>Register number to read.<ul>
<li>XUSBPSU_GHWPARAMS0</li>
<li>XUSBPSU_GHWPARAMS1</li>
<li>XUSBPSU_GHWPARAMS2</li>
<li>XUSBPSU_GHWPARAMS3</li>
<li>XUSBPSU_GHWPARAMS4</li>
<li>XUSBPSU_GHWPARAMS5</li>
<li>XUSBPSU_GHWPARAMS6</li>
<li>XUSBPSU_GHWPARAMS7</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>One of the GHWPARAMS RegValister contents. </dd></dl>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga55228afff6b16b58790b91efb185eff5">XUsbPsu_CfgInitialize()</a>, <a class="el" href="group__usbpsu__api.html#ga01495a656b7de39f6874390556643a1e">XUsbPsu_CoreInit()</a>, and <a class="el" href="group__usbpsu__api.html#gad13cbcf5858fa37dcba606bed25ed338">XUsbPsu_Idle()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1cbbfbb1658f7fe29ec7f1b24ba87eeb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_RecvSetup </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initiates DMA on control endpoint 0 to receive setup packet. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___trb.html#a545d775d43d34a707369903eb368b9ab">XUsbPsu_Trb::BufferPtrHigh</a>, <a class="el" href="struct_x_usb_psu___trb.html#ae5ea152e5ef5e898965e50acf74dc519">XUsbPsu_Trb::BufferPtrLow</a>, <a class="el" href="struct_x_usb_psu.html#afdb9b0ea8fd80a598a133cce1dd7c05f">XUsbPsu::ConfigPtr</a>, <a class="el" href="struct_x_usb_psu___trb.html#a33543ca16a939ea769633dac14708785">XUsbPsu_Trb::Ctrl</a>, <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu.html#a3feb0ce5e323beddab4bd2ed7f05cb7d">XUsbPsu::Ep0State</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___config.html#a87b9ea25fdd7468b4cb5cb72ee5b494a">XUsbPsu_Config::IsCacheCoherent</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a025a749009e1eab7b46f6ed9e7fe069d">XUsbPsu_EpParams::Param0</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a02fb87ba6563c49d0e60ee13644434d7">XUsbPsu_EpParams::Param1</a>, <a class="el" href="struct_x_usb_psu___ep.html#a30d0aae28aa3a1d4a9a352db55450df4">XUsbPsu_Ep::ResourceIndex</a>, <a class="el" href="struct_x_usb_psu___trb.html#a220253ea99ff109beb8676a46a49d27c">XUsbPsu_Trb::Size</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>, <a class="el" href="group__usbpsu__api.html#ga28df688a0136bd0efa5cc25ea3272610">XUsbPsu_EpGetTransferIndex()</a>, <a class="el" href="group__usbpsu__api.html#ga539653e2157529aeedf78d66aa135a7f">XUsbPsu_GetEpParams()</a>, and <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga5d44b4cfe8de7ab1fa6b98710bd7836f">XUsbPsu_ConnDoneIntr()</a>, <a class="el" href="group__usbpsu__api.html#ga78d9a929bbb9036e7eb4ba85b176df0d">XUsbPsu_Ep0StallRestart()</a>, and <a class="el" href="group__usbpsu__api.html#ga5fbc6f2e5e21efc273d5d44a4bdf21d1">XUsbPsu_Ep0StatusDone()</a>.</p>

</div>
</div>
<a class="anchor" id="gaefd17a7722d63d1afe8fb6d1815000ed"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_ResetIntr </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resets interrupt handler. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a7d063081dccb62284227b99de12fd40a">XUsbPsu::AppData</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu.html#a08f67def1d92b23c1988c830f4d8b83f">XUsbPsu::IsConfigDone</a>, <a class="el" href="struct_x_usb_psu.html#ae1a79187909ced95add06dc5acb2064a">XUsbPsu::NumInEps</a>, <a class="el" href="struct_x_usb_psu.html#a65d03f0b14986135e50959098d945db2">XUsbPsu::NumOutEps</a>, <a class="el" href="struct_x_usb_psu.html#a015c992834762e7f50d5be2c99df277d">XUsbPsu::ResetIntrHandler</a>, <a class="el" href="struct_usb___dev_data.html#ae6b25681fad0c3686de251a7e611f00f">Usb_DevData::State</a>, <a class="el" href="struct_x_usb_psu.html#a71a0cd96ef36f74fd8a258959195cfdb">XUsbPsu::TestMode</a>, <a class="el" href="group__usbpsu__api.html#ga16d89863a86fe201e813e39f08edaaf9">XUsbPsu_ClearStallAllEp()</a>, <a class="el" href="group__usbpsu__api.html#ga7d6e17c324943f3fc70ff60980985ee1">XUSBPSU_STATE_DEFAULT</a>, and <a class="el" href="group__usbpsu__api.html#gacc29605c0bd7068a2f97c8c2ed0a8ea6">XUsbPsu_StopActiveTransfers()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gab9c5e8289701e82cf940fd2d0c239fd1">XUsbPsu_DeviceEvent()</a>.</p>

</div>
</div>
<a class="anchor" id="gac5e91b20aedeff92c9aa7eed229c5c03"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_SaveEndpointState </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu___ep.html">XUsbPsu_Ep</a> *&#160;</td>
          <td class="paramname"><em>Ept</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Queries endpoint state and saves it in EpSavedState. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Ept</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> pointer structure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu___ep.html#a17b602a739950a5c30bc6c7b522b0ae4">XUsbPsu_Ep::EpSavedState</a>, <a class="el" href="struct_x_usb_psu___ep.html#ac848e7b64a1137b6922a32dfebe62ab5">XUsbPsu_Ep::PhyEpNum</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, <a class="el" href="group__usbpsu__api.html#ga539653e2157529aeedf78d66aa135a7f">XUsbPsu_GetEpParams()</a>, and <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>.</p>

</div>
</div>
<a class="anchor" id="ga2053aec2de928aab94f61f1639058b40"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_SendEpCmd </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>UsbEpNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu___ep_params.html">XUsbPsu_EpParams</a> *&#160;</td>
          <td class="paramname"><em>Params</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sends Endpoint command to the Endpoint. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">UsbEpNum</td><td>USB endpoint number. </td></tr>
    <tr><td class="paramname">Dir</td><td>Direction of endpoint<ul>
<li>XUSBPSU_EP_DIR_IN/ XUSBPSU_EP_DIR_OUT. </li>
</ul>
</td></tr>
    <tr><td class="paramname">Cmd</td><td>Endpoint command. </td></tr>
    <tr><td class="paramname">Params</td><td>Endpoint command parameters.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___ep_params.html#a025a749009e1eab7b46f6ed9e7fe069d">XUsbPsu_EpParams::Param0</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a02fb87ba6563c49d0e60ee13644434d7">XUsbPsu_EpParams::Param1</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a5afaf76f43bce0d77169ea212bff0d81">XUsbPsu_EpParams::Param2</a>, <a class="el" href="struct_x_usb_psu___ep.html#ac848e7b64a1137b6922a32dfebe62ab5">XUsbPsu_Ep::PhyEpNum</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, <a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>, <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>, and <a class="el" href="group__usbpsu__api.html#ga2616d8b140915fc83ced2c316db3aa16">XUsbPsu_WaitClearTimeout()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga1f081ab527bf9b7a15bd24ebea69138b">XUsbPsu_ClearStalls()</a>, <a class="el" href="group__usbpsu__api.html#ga426259ea4430f2bccf744c55e88dcea9">XUsbPsu_Ep0_EndControlData()</a>, <a class="el" href="group__usbpsu__api.html#gacaefa0abe2036b61d3341ee9232ffb17">XUsbPsu_Ep0Recv()</a>, <a class="el" href="group__usbpsu__api.html#ga057ab0e4a9511055a42e60b92550660d">XUsbPsu_Ep0Send()</a>, <a class="el" href="group__usbpsu__api.html#ga8dcb3237803d60fc90cea8270b6fe1a0">XUsbPsu_Ep0StartStatus()</a>, <a class="el" href="group__usbpsu__api.html#gad0102ce2327d084245189584307ecdfe">XUsbPsu_EpBufferRecv()</a>, <a class="el" href="group__usbpsu__api.html#ga9a977327906f2995960e50d429703687">XUsbPsu_EpBufferSend()</a>, <a class="el" href="group__usbpsu__api.html#gaeff04b67a7a4a8c63da2327c6ae5e81b">XUsbPsu_EpClearStall()</a>, <a class="el" href="group__usbpsu__api.html#ga07f17ab6f8a9e4881fab867ff7e4ecaa">XUsbPsu_EpSetStall()</a>, <a class="el" href="group__usbpsu__api.html#ga1cbbfbb1658f7fe29ec7f1b24ba87eeb">XUsbPsu_RecvSetup()</a>, <a class="el" href="group__usbpsu__api.html#gac5e91b20aedeff92c9aa7eed229c5c03">XUsbPsu_SaveEndpointState()</a>, <a class="el" href="group__usbpsu__api.html#ga41fcbddbefdf6f9534c188255a0d61c1">XUsbPsu_SetEpConfig()</a>, <a class="el" href="group__usbpsu__api.html#ga17a07022989463d93396219c70975c2f">XUsbPsu_SetXferResource()</a>, <a class="el" href="group__usbpsu__api.html#gadda2d8102910024fbfa5bc7a471bea86">XUsbPsu_StartEpConfig()</a>, and <a class="el" href="group__usbpsu__api.html#ga0358f9d4714f7d4e19d429ccf8cc6b26">XUsbPsu_StopTransfer()</a>.</p>

</div>
</div>
<a class="anchor" id="ga12567217fd7112e7d8fc4c6d91b20e11"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_SetDeviceAddress </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Addr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the device address of the core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Addr</td><td>Address to set.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a7d063081dccb62284227b99de12fd40a">XUsbPsu::AppData</a>, <a class="el" href="struct_usb___dev_data.html#ae6b25681fad0c3686de251a7e611f00f">Usb_DevData::State</a>, <a class="el" href="group__usbpsu__api.html#ga10077a7a78df717317306ba0e42610bd">XUSBPSU_STATE_ADDRESS</a>, <a class="el" href="group__usbpsu__api.html#gae3a3281573703ad8e23f87108ba00bf9">XUSBPSU_STATE_CONFIGURED</a>, and <a class="el" href="group__usbpsu__api.html#ga7d6e17c324943f3fc70ff60980985ee1">XUSBPSU_STATE_DEFAULT</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga55228afff6b16b58790b91efb185eff5">XUsbPsu_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga41fcbddbefdf6f9534c188255a0d61c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_SetEpConfig </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>UsbEpNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Restore</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sends set endpoint configuration command to the endpoint. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">UsbEpNum</td><td>USB endpoint number. </td></tr>
    <tr><td class="paramname">Dir</td><td>Direction of endpoint -XUSBPSU_EP_DIR_IN/XUSBPSU_EP_DIR_OUT. </td></tr>
    <tr><td class="paramname">Size</td><td>Size of Endpoint size. </td></tr>
    <tr><td class="paramname">Type</td><td>Endpoint type Control/Bulk/Interrupt/Isoc. </td></tr>
    <tr><td class="paramname">Restore</td><td>Typically false, true if saved state has to be restored.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a7d063081dccb62284227b99de12fd40a">XUsbPsu::AppData</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a17b602a739950a5c30bc6c7b522b0ae4">XUsbPsu_Ep::EpSavedState</a>, <a class="el" href="struct_x_usb_psu___ep.html#a0f79403cf89a048aeedf9be9a9da8f4f">XUsbPsu_Ep::Interval</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a025a749009e1eab7b46f6ed9e7fe069d">XUsbPsu_EpParams::Param0</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a02fb87ba6563c49d0e60ee13644434d7">XUsbPsu_EpParams::Param1</a>, <a class="el" href="struct_x_usb_psu___ep_params.html#a5afaf76f43bce0d77169ea212bff0d81">XUsbPsu_EpParams::Param2</a>, <a class="el" href="struct_usb___dev_data.html#ab54eee2cc1c6a5d178c976f187a2ea47">Usb_DevData::Speed</a>, <a class="el" href="struct_x_usb_psu___ep.html#acdc2fe13449f0c73020d316a3bb9736d">XUsbPsu_Ep::Type</a>, <a class="el" href="group__usbpsu__api.html#ga428b7d5150df403d2011a466379d4860">XUSBPSU_ENDPOINT_XFER_ISOC</a>, <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>, <a class="el" href="group__usbpsu__api.html#ga539653e2157529aeedf78d66aa135a7f">XUsbPsu_GetEpParams()</a>, <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>, and <a class="el" href="group__usbpsu__api.html#ga907197f8e0fa8febbc3c7794c877c147">XUSBPSU_SPEED_SUPER</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga1a566eeb18fcd70e9cf6024f2cf8a35b">XUsbPsu_EpEnable()</a>.</p>

</div>
</div>
<a class="anchor" id="gad585fe1304adfd139727220832c2dcf5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_SetEpHandler </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Epnum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void(*)(void *, u32, u32)&#160;</td>
          <td class="paramname"><em>Handler</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets an user handler to be called after data is sent/received by an endpoint. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Epnum</td><td>USB endpoint number. </td></tr>
    <tr><td class="paramname">Dir</td><td>Direction of endpoint<ul>
<li>XUSBPSU_EP_DIR_IN/XUSBPSU_EP_DIR_OUT. </li>
</ul>
</td></tr>
    <tr><td class="paramname">Handler</td><td>User handler to be called.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a84744372d1d940a83666e89f560c9a6a">XUsbPsu_Ep::Handler</a>, <a class="el" href="struct_x_usb_psu___ep.html#ac848e7b64a1137b6922a32dfebe62ab5">XUsbPsu_Ep::PhyEpNum</a>, <a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>, and <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>.</p>

</div>
</div>
<a class="anchor" id="ga4df83ee534df24f4403e51ae9423238a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_SetLinkState </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__usbpsu__api.html#ga01b275c406db01f76fc27ce428e859b0">XusbPsuLinkStateChange</a>&#160;</td>
          <td class="paramname"><em>State</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets USB Link to a particular State. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">State</td><td>State of Link to set.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

<p>References <a class="el" href="group__usbpsu__api.html#ga2616d8b140915fc83ced2c316db3aa16">XUsbPsu_WaitClearTimeout()</a>.</p>

</div>
</div>
<a class="anchor" id="gaebd7592c8206e1fa22594cb2e4e44f7f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_SetSpeed </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Speed</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets speed of the core for connecting to host. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Speed</td><td>Required speed<ul>
<li>XUSBPSU_DCFG_HIGHSPEED</li>
<li>XUSBPSU_DCFG_FULLSPEED2</li>
<li>XUSBPSU_DCFG_LOWSPEED</li>
<li>XUSBPSU_DCFG_FULLSPEED1</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga55228afff6b16b58790b91efb185eff5">XUsbPsu_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gab04d50803db3b336711a63dfd88de5a1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_SetTestMode </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables USB2 test modes. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Mode</td><td>Test mode to set.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

<p>References <a class="el" href="xusbpsu_8h.html#a49b4750a0007cdf47d99b02c39d4ee3f">Status</a>, <a class="el" href="group__usbpsu__api.html#gadfc13d0ed152c8a400dba485d2b55d35">XUSBPSU_TEST_FORCE_ENABLE</a>, <a class="el" href="group__usbpsu__api.html#ga7af07f28c5254049183d86942b54d610">XUSBPSU_TEST_J</a>, <a class="el" href="group__usbpsu__api.html#gaba5ac1fc686a1d43125ff1e3550de708">XUSBPSU_TEST_K</a>, <a class="el" href="group__usbpsu__api.html#ga7bd0ead386f64199721fdbdaee530e25">XUSBPSU_TEST_PACKET</a>, and <a class="el" href="group__usbpsu__api.html#ga145f43dae5d1d499a02248a306d35d9f">XUSBPSU_TEST_SE0_NAK</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga5fbc6f2e5e21efc273d5d44a4bdf21d1">XUsbPsu_Ep0StatusDone()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa511f1b4207a9b718f8951e2f3b0ac90"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_SetU1SleepTimeout </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Timeout</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets U1 sleep timeout. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Timeout</td><td>Time in microseconds</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

</div>
</div>
<a class="anchor" id="gade3b6c0bdb87c504d946212311c04216"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_SetU2SleepTimeout </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Timeout</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets U2 sleep timeout. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">Timeout</td><td>Time in microseconds.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

</div>
</div>
<a class="anchor" id="ga17a07022989463d93396219c70975c2f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_SetXferResource </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>UsbEpNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sends set transfer resource command to the endpoint. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">UsbEpNum</td><td>USB endpoint number. </td></tr>
    <tr><td class="paramname">Dir</td><td>Direction of endpoint - XUSBPSU_EP_DIR_IN/XUSBPSU_EP_DIR_OUT</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___ep_params.html#a025a749009e1eab7b46f6ed9e7fe069d">XUsbPsu_EpParams::Param0</a>, <a class="el" href="group__usbpsu__api.html#ga539653e2157529aeedf78d66aa135a7f">XUsbPsu_GetEpParams()</a>, and <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga1a566eeb18fcd70e9cf6024f2cf8a35b">XUsbPsu_EpEnable()</a>.</p>

</div>
</div>
<a class="anchor" id="ga4aefce4e996fb276192ce25ece82d56a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_Sleep </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>USeconds</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>API for Sleep routine. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">USeconds</td><td>Time in MicroSeconds.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga426259ea4430f2bccf744c55e88dcea9">XUsbPsu_Ep0_EndControlData()</a>, <a class="el" href="group__usbpsu__api.html#ga4c5f57fc85b14ae756481518c5318362">XUsbPsu_PhyReset()</a>, and <a class="el" href="group__usbpsu__api.html#ga0358f9d4714f7d4e19d429ccf8cc6b26">XUsbPsu_StopTransfer()</a>.</p>

</div>
</div>
<a class="anchor" id="ga6d7651e8afca56974940464709b8a3ed"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_Start </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts the controller so that host can detect this device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

<p>References <a class="el" href="group__usbpsu__api.html#ga2616d8b140915fc83ced2c316db3aa16">XUsbPsu_WaitClearTimeout()</a>.</p>

</div>
</div>
<a class="anchor" id="gadda2d8102910024fbfa5bc7a471bea86"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_StartEpConfig </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>UsbEpNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sends start new configuration command to the endpoint. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">UsbEpNum</td><td>USB endpoint number. </td></tr>
    <tr><td class="paramname">Dir</td><td>Direction of endpoint<ul>
<li>XUSBPSU_EP_DIR_IN/ XUSBPSU_EP_DIR_OUT.</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>As per data book this command should be issued by software under these conditions:<ol type="1">
<li>After power-on-reset with XferRscIdx=0 before starting to configure Physical Endpoints 0 and 1.</li>
<li>With XferRscIdx=2 before starting to configure Physical Endpoints &gt; 1</li>
<li>This command should always be issued to Endpoint 0 (DEPCMD0). </li>
</ol>
</dd></dl>

<p>References <a class="el" href="struct_x_usb_psu.html#a08f67def1d92b23c1988c830f4d8b83f">XUsbPsu::IsConfigDone</a>, <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>, <a class="el" href="group__usbpsu__api.html#ga539653e2157529aeedf78d66aa135a7f">XUsbPsu_GetEpParams()</a>, and <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga1a566eeb18fcd70e9cf6024f2cf8a35b">XUsbPsu_EpEnable()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7fa4e391a5107c357c314fa5e550e370"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_Stop </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stops the controller so that the device disconnects from the host. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

<p>References <a class="el" href="group__usbpsu__api.html#gaf75d50db67d1cab7fed1c8738d1b95c9">XUsbPsu_WaitSetTimeout()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gad13cbcf5858fa37dcba606bed25ed338">XUsbPsu_Idle()</a>.</p>

</div>
</div>
<a class="anchor" id="gacc29605c0bd7068a2f97c8c2ed0a8ea6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_StopActiveTransfers </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stops any active transfer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, and <a class="el" href="group__usbpsu__api.html#ga0358f9d4714f7d4e19d429ccf8cc6b26">XUsbPsu_StopTransfer()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gaefd17a7722d63d1afe8fb6d1815000ed">XUsbPsu_ResetIntr()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0358f9d4714f7d4e19d429ccf8cc6b26"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XUsbPsu_StopTransfer </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>UsbEpNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Force</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stops transfer on Endpoint. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance. </td></tr>
    <tr><td class="paramname">UsbEpNum</td><td>USB endpoint number. </td></tr>
    <tr><td class="paramname">Dir</td><td>Direction of endpoint<ul>
<li>XUSBPSU_EP_DIR_IN/XUSBPSU_EP_DIR_OUT. </li>
</ul>
</td></tr>
    <tr><td class="paramname">Force</td><td>Flag to stop/pause transfer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___ep.html#a5d001c89b016fa7087350c46dfe747f2">XUsbPsu_Ep::Direction</a>, <a class="el" href="struct_x_usb_psu.html#a1e77666264bd13605a6ab7e7d82cda33">XUsbPsu::eps</a>, <a class="el" href="struct_x_usb_psu___ep.html#a9d896e975aee7d3ebf777702bdf1ad81">XUsbPsu_Ep::EpStatus</a>, <a class="el" href="struct_x_usb_psu___ep.html#a30d0aae28aa3a1d4a9a352db55450df4">XUsbPsu_Ep::ResourceIndex</a>, <a class="el" href="struct_x_usb_psu___ep.html#aa7f9ebb45a33e0538854eb96929fe5a1">XUsbPsu_Ep::UsbEpNum</a>, <a class="el" href="group__usbpsu__api.html#ga3126435e75abbfbfdcf3bfdf9d1175a0">XUSBPSU_EP_DIR_IN</a>, <a class="el" href="group__usbpsu__api.html#ga512f27591b21fe69754687c156ad0c01">XUSBPSU_EP_DIR_OUT</a>, <a class="el" href="group__usbpsu__api.html#ga539653e2157529aeedf78d66aa135a7f">XUsbPsu_GetEpParams()</a>, <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>, and <a class="el" href="group__usbpsu__api.html#ga4aefce4e996fb276192ce25ece82d56a">XUsbPsu_Sleep()</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#gad13cbcf5858fa37dcba606bed25ed338">XUsbPsu_Idle()</a>, and <a class="el" href="group__usbpsu__api.html#gacc29605c0bd7068a2f97c8c2ed0a8ea6">XUsbPsu_StopActiveTransfers()</a>.</p>

</div>
</div>
<a class="anchor" id="ga35ea7b99952969130f6bc35b088b16a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_U1SleepDisable </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables U1 disable sleep. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

</div>
</div>
<a class="anchor" id="gab610beaf7a6f5703f123e6682bea8c45"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_U1SleepEnable </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables U1 enable sleep. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

</div>
</div>
<a class="anchor" id="gace8c49312a72bbabfb622b62d88ffc0a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_U2SleepDisable </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables U2 disable sleep. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

</div>
</div>
<a class="anchor" id="ga5340d1fa1682b73d5f4da55eff3b0a0b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_U2SleepEnable </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables U2 enable sleep. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS else XST_FAILURE </dd></dl>

</div>
</div>
<a class="anchor" id="ga2616d8b140915fc83ced2c316db3aa16"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_WaitClearTimeout </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>BitMask</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Timeout</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Waits until a bit in a register is cleared or timeout occurs. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance to be worked on. </td></tr>
    <tr><td class="paramname">Offset</td><td>Register offset. </td></tr>
    <tr><td class="paramname">BitMask</td><td>Bit mask of required bit to be checked. </td></tr>
    <tr><td class="paramname">Timeout</td><td>Time to wait specified in micro seconds.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS when bit is cleared.</li>
<li>XST_FAILURE when timed out. </li>
</ul>
</dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___config.html#a389cb184e06d5795b4239fe005e2290f">XUsbPsu_Config::BaseAddress</a>, <a class="el" href="struct_x_usb_psu.html#afdb9b0ea8fd80a598a133cce1dd7c05f">XUsbPsu::ConfigPtr</a>, and <a class="el" href="xusbpsu_8h.html#a49b4750a0007cdf47d99b02c39d4ee3f">Status</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga01495a656b7de39f6874390556643a1e">XUsbPsu_CoreInit()</a>, <a class="el" href="group__usbpsu__api.html#gad13cbcf5858fa37dcba606bed25ed338">XUsbPsu_Idle()</a>, <a class="el" href="group__usbpsu__api.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd()</a>, <a class="el" href="group__usbpsu__api.html#ga4df83ee534df24f4403e51ae9423238a">XUsbPsu_SetLinkState()</a>, and <a class="el" href="group__usbpsu__api.html#ga6d7651e8afca56974940464709b8a3ed">XUsbPsu_Start()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf75d50db67d1cab7fed1c8738d1b95c9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XUsbPsu_WaitSetTimeout </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>BitMask</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Timeout</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Waits until a bit in a register is set or timeout occurs. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the <a class="el" href="struct_x_usb_psu.html" title="USB Device Controller representation USB Device Controller representation. ">XUsbPsu</a> instance to be worked on </td></tr>
    <tr><td class="paramname">Offset</td><td>Register offset. </td></tr>
    <tr><td class="paramname">BitMask</td><td>Bit mask of required bit to be checked. </td></tr>
    <tr><td class="paramname">Timeout</td><td>Time to wait specified in micro seconds.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS when bit is set.</li>
<li>XST_FAILURE when timed out. </li>
</ul>
</dd></dl>

<p>References <a class="el" href="struct_x_usb_psu___config.html#a389cb184e06d5795b4239fe005e2290f">XUsbPsu_Config::BaseAddress</a>, <a class="el" href="struct_x_usb_psu.html#afdb9b0ea8fd80a598a133cce1dd7c05f">XUsbPsu::ConfigPtr</a>, and <a class="el" href="xusbpsu_8h.html#a49b4750a0007cdf47d99b02c39d4ee3f">Status</a>.</p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga7fa4e391a5107c357c314fa5e550e370">XUsbPsu_Stop()</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="ga070b11a185cfb126e5ec5f3be63a77f0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">USB_CONFIG <a class="el" href="struct____attribute____.html">__attribute__</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Endpoint Parameters. </p>
<p>Core events.</p>
<p>Device Events.</p>
<p>Device Endpoint Events.</p>
<p>Device Endpoint Events type.</p>
<p>Representation of Event Buffers. </p>

<p>Referenced by <a class="el" href="xusb__freertos__ch9__storage_8h.html#a6b9c8f0b5b4de1072d44ca05f15d3601">Usb_Ch9SetupBosDescReply()</a>.</p>

</div>
</div>
<a class="anchor" id="ga846d0a038155f23633778e0bed4109ff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_usb_psu___config.html">XUsbPsu_Config</a> XUsbPsu_ConfigTable[]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configuration table. </p>

<p>Referenced by <a class="el" href="group__usbpsu__api.html#ga10b910700eb2400378dc0a013410ba26">XUsbPsu_LookupConfig()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
